From 094d73bcb2b9542da28e16f0a25da089a2b42cd6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sun, 28 Jun 2015 10:30:04 +0200 Subject: d/TROUBLESHOOTING.Debian: Add section if device file system does not support ACLs --- debian/TROUBLESHOOTING.Debian | 16 ++++++++++++++++ debian/changelog | 8 ++++++++ 2 files changed, 24 insertions(+) (limited to 'debian') 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). diff --git a/debian/changelog b/debian/changelog index 7cc0cc3..91b0132 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +sane-backends (1.0.24-14) UNRELEASED; urgency=medium + + * debian/TROUBLESHOOTING.Debian: + - Add section if device file system does not support ACLs + (Closes: #789593). + + -- Jörg Frings-Fürst Sun, 28 Jun 2015 10:12:36 +0200 + sane-backends (1.0.24-13) unstable; urgency=medium * debian/rules: -- cgit v1.2.3