From 9652c2729e6b8af6c45ce5e16fc67a91044dadb4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sat, 27 Apr 2019 18:47:52 +0200 Subject: Fix missing set device to group scanner --- debian/TROUBLESHOOTING.Debian | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'debian/TROUBLESHOOTING.Debian') diff --git a/debian/TROUBLESHOOTING.Debian b/debian/TROUBLESHOOTING.Debian index 397626f..70e9f5a 100644 --- a/debian/TROUBLESHOOTING.Debian +++ b/debian/TROUBLESHOOTING.Debian @@ -18,7 +18,7 @@ REMARK: Sometimes usblp is used to access your printer. 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 +The file /etc/udev/rules.d/99-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 @@ -26,4 +26,4 @@ returns "Operation not supported". I assume this is because it's trying to add a 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). +end of 99-libsane.rules (an alternative would be to use a UDEV rule element to change the ownership). -- cgit v1.2.3