setting permissions by group does not work

Bug #321658 reported by Michael Marley
2
Affects Status Importance Assigned to Milestone
udev (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: udev

On Kubuntu Jaunty 64-bit, I cannot seem to use the GROUP="" parameter to assign permissions in a file in /etc/udev/rules.d. I am trying to set up udev so that my cellphone works in BitPim without root privileges, but the following line does not work:

SUBSYSTEM=="usb", ACTION=="add", SYSFS{idVendor}=="1004", SYSFS{idProduct}=="6000", MODE="666", GROUP="cellusers"

I have confirmed that the "cellusers" group exists and that I am a member. It will work, however, if I assign myself as the owner, like this:

SUBSYSTEM=="usb", ACTION=="add", SYSFS{idVendor}=="1004", SYSFS{idProduct}=="6000", MODE="666", OWNER="michael"

Revision history for this message
Scott James Remnant (Canonical) (canonical-scott) wrote :

Please run "udevadm test" on the /sys path of the device.

It's probable that a later rule is overriding the group, try changing GROUP= to GROUP:=

You should replace SYSFS{...} with ATTR{...}

And you should remove ACTION=="add"

Changed in udev:
status: New → Incomplete
Revision history for this message
Michael Marley (mamarley) wrote :

This works great. Sorry for the trouble.

Changed in udev:
status: Incomplete → Invalid
Revision history for this message
Scott James Remnant (Canonical) (canonical-scott) wrote :

Could you attach the results of udevadm test anyway (without the :-), so we know which is overriding - other people will surely run into this

Revision history for this message
Michael Marley (mamarley) wrote :

It seems to work even without the :- . It was probably related to the other two things you told me.

Sorry, I just don't want to touch the udevadm file. Yesterday, the udevadm file got deleted somehow, which completely bricked my computer. I have now reinstalled, but I don't want that to happen again.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.