Package: libsane Version: 1.0.27-3.1 Severity: normal Dear Maintainer,
I experience this issue since december 2018. I scan my docs every two monthes, so I would not have noticed any change between october and december. Context ------- * investigation on the following issue https://gitlab.gnome.org/World/OpenPaperwork/paperwork/issues/810 * Canon LiDE 700F scanner (USB) * usage via saned daemon (run by systemd with saned user) * saned user is in scanner group * I have enabled saned daemon with systemctl enable saned.socket systemctl start saned.socket Observed behaviour ------------------ saned seems to never find my device. Indeed here are the results of sane-find-scanner, run by saned and by root: $ sudo -u saned sane-find-scanner -q could not open USB device 0x0b05/0x179c at 003:007: Access denied (insufficient permissions) could not open USB device 0x0451/0x8142 at 003:015: Access denied (insufficient permissions) could not open USB device 0x04a9/0x1907 at 003:014: Access denied (insufficient permissions) could not open USB device 0x0451/0x8142 at 003:013: Access denied (insufficient permissions) could not open USB device 0x046d/0xc52b at 003:004: Access denied (insufficient permissions) could not open USB device 0x1050/0x0407 at 003:006: Access denied (insufficient permissions) could not open USB device 0x05e3/0x0608 at 003:003: Access denied (insufficient permissions) could not open USB device 0x8087/0x0024 at 003:002: Access denied (insufficient permissions) could not open USB device 0x1d6b/0x0002 at 003:001: Access denied (insufficient permissions) could not open USB device 0x1d6b/0x0003 at 006:001: Access denied (insufficient permissions) could not open USB device 0x1d6b/0x0002 at 005:001: Access denied (insufficient permissions) could not open USB device 0x1d6b/0x0003 at 004:001: Access denied (insufficient permissions) could not open USB device 0x1d6b/0x0002 at 002:001: Access denied (insufficient permissions) could not open USB device 0x8087/0x0024 at 001:002: Access denied (insufficient permissions) could not open USB device 0x1d6b/0x0002 at 001:001: Access denied (insufficient permissions) $ sudo sane-find-scanner -q found USB scanner (vendor=0x04a9 [Canon], product=0x1907 [CanoScan], chip=GL847) at libusb:003:014 saned user does not have the proper permissions! Expected behaviour ------------------ saned user should see my scanner, so that this scanner is usable via saned daemon. Possible lead ------------- It seems to me that the /lib/udev/rules.d/60-libsane.rules file should contain an action line such as ENV{libsane_matched}=="yes", RUN+="/bin/setfacl -m g:scanner:rw $env{DEVNAME}" but i cannot find in my system version of this file. -- System Information: Debian Release: buster/sid APT prefers testing APT policy: (900, 'testing') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.19.0-1-amd64 (SMP w/4 CPU cores) Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8), LANGUAGE=fr_FR.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages libsane:amd64 depends on: ii acl 2.2.52-3+b1 ii adduser 3.118 ii libavahi-client3 0.7-4+b1 ii libavahi-common3 0.7-4+b1 ii libc6 2.28-2 ii libgphoto2-6 2.5.21-1 ii libgphoto2-port12 2.5.21-1 ii libieee1284-3 0.2.11-13 ii libjpeg62-turbo 1:1.5.2-2+b1 ii libsane-common 1.0.27-3.1 ii libsnmp30 5.7.3+dfsg-4+b2 ii libssl1.1 1.1.1a-1 ii libtiff5 4.0.10-3 ii libusb-1.0-0 2:1.0.22-2 ii udev 240-2 Versions of packages libsane:amd64 recommends: ii sane-utils 1.0.27-3.1 Versions of packages libsane:amd64 suggests: ii avahi-daemon 0.7-4+b1 ii hplip 3.18.12+dfsg0-2 -- no debconf information

