Package: libsane
Version: 1.0.24-13
The file /lib/udev/rules.d/60-libsane.rules uses the command /bin/setfacl -m g:scanner:rw
$env{DEVNAME} to add the scanner group with rw access to the device permissions.
In my case, with /dev on an ext4 filesystem with no ACL support enabled in the kernel, setfacl
returns Operation not supported. I assume this is because it's trying to add a group, which is not
possible in its fallback mode of traditional Unix-style file permissions.
As a workaround, I have substituted /bin/chown root:scanner $env{DEVNAME} as the command at the
end of 60-libsane.rules (an alternative would be to use a UDEV rule element to change the ownership).
As mentioned, I have a custom kernel build, from Linux 4.0.4 x86_64, with no ACL support. (Kernel
config help suggests Say N.)
# lsusb
.
.
Bus 005 Device 008: ID 04a9:2206 Canon, Inc. CanoScan N650U/N656U
.
.
# ls -l /dev/bus/usb/005/008
crw-rw-r-- 1 root root 189, 519 Jun 22 12:09 /dev/bus/usb/005/008
# /bin/setfacl -m g:scanner:rw /dev/bus/usb/005/008
setfacl: /dev/bus/usb/005/008: Operation not supported
# chown root:scanner /dev/bus/usb/005/008
# ls -l /dev/bus/usb/005/008
crw-rw-r-- 1 root scanner 189, 519 Jun 22 12:09 /dev/bus/usb/005/008
#
(Reporting via mail because reportbug won't run! I'll debug that now.)
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org