diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2015-06-28 10:30:04 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2015-06-28 10:30:04 +0200 |
commit | 094d73bcb2b9542da28e16f0a25da089a2b42cd6 (patch) | |
tree | ba24e51d8d588bbef890ef6d52282c93d7b6a6d3 /debian/TROUBLESHOOTING.Debian | |
parent | ff4408221f8684e2456ca7d3cf60685d6b8a01ab (diff) |
d/TROUBLESHOOTING.Debian: Add section if device file system does not support ACLs
Diffstat (limited to 'debian/TROUBLESHOOTING.Debian')
-rw-r--r-- | debian/TROUBLESHOOTING.Debian | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/debian/TROUBLESHOOTING.Debian b/debian/TROUBLESHOOTING.Debian index 917cfc6..397626f 100644 --- a/debian/TROUBLESHOOTING.Debian +++ b/debian/TROUBLESHOOTING.Debian @@ -1,5 +1,6 @@ 1.) usbfs: interface 1 claimed by usblp while ‘scanimage’ sets config #1 +2.) ACL: device file system does not support ACLs 1.) usbfs: interface 1 claimed by usblp while ‘scanimage’ sets config #1 @@ -11,3 +12,18 @@ If you get this error meessage you can try and reboot. After that your scanner can used. REMARK: Sometimes usblp is used to access your printer. + + +2.) ACL: device file system does not support ACLs + +From https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=789593 + +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). |