Regression: 1394 scanner device (sgN) permissions
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
udev (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: udev
I used a 1394 scanner (Nikon 8000) successfully until karmic. After upgrading to maverick however, the device is only accessible to root:
$ ls -l /dev/sg4
crw------- 1 root root 21, 4 2010-10-17 12:02 /dev/sg4
Granting rw-permissions to "other" fixes the problem.
More sensible permissions should be the default.
This is what udev knows about the device:
$ udevadm info -a -rp /sys/class/
Udevadm info starts with the device specified by the devpath and then
walks up the chain of parent devices. It prints for every device
found, all possible attributes in the udev rules key format.
A rule to match, can be composed by the attributes of the device
and the attributes from one single parent device.
looking at device '/devices/
KERNEL=="sg4"
SUBSYSTEM=
DRIVER==""
looking at parent device '/devices/
KERNELS=
SUBSYSTEMS=
DRIVERS==""
ATTRS{
ATTRS{
ATTRS{
ATTRS{
ATTRS{
ATTRS{
ATTRS{
ATTRS{
ATTRS{
ATTRS{
ATTRS{
ATTRS{
ATTRS{
ATTRS{
ATTRS{
ATTRS{
ATTRS{
ATTRS{
looking at parent device '/devices/
KERNELS=
SUBSYSTEMS=
DRIVERS==""
looking at parent device '/devices/
KERNELS=
SUBSYSTEMS=
DRIVERS==""
looking at parent device '/devices/
KERNELS=
SUBSYSTEMS=
DRIVERS=="sbp2"
ATTRS{
ATTRS{
ATTRS{
ATTRS{
ATTRS{
ATTRS{
looking at parent device '/devices/
KERNELS=="fw1"
SUBSYSTEMS=
DRIVERS==""
ATTRS{
ATTRS{
ATTRS{
ATTRS{
ATTRS{
looking at parent device '/devices/
KERNELS=
SUBSYSTEMS=
DRIVERS=
ATTRS{
ATTRS{
ATTRS{
ATTRS{
ATTRS{
ATTRS{
ATTRS{
ATTRS{
ATTRS{
ATTRS{
ATTRS{
ATTRS{
ATTRS{
ATTRS{
ATTRS{
looking at parent device '/devices/
KERNELS=
SUBSYSTEMS=
DRIVERS==""
ATTRS{
ATTRS{
ATTRS{
ATTRS{
ATTRS{
ATTRS{irq}=="0"
ATTRS{
ATTRS{
ATTRS{
ATTRS{
ATTRS{
ATTRS{
ATTRS{
ATTRS{
ATTRS{
looking at parent device '/devices/
KERNELS=
SUBSYSTEMS==""
DRIVERS==""
Ok. The same regression here with an Epson scanner. It's dual interface and Just Works if plugged in as a USB device but the permissions for the device need changing from root to work on firewire.
I've run the same diagnostic as above, but can't see where in it the user and group are set. For now I can manually reset owner and group to use the Firewire interface, but where should it be set automatically?