I experience the same problem with 1.0.27-3.2.
Inspecting the udev rules, I found that the file 60-libsane.rules is missing a 
line to apply permissions to the device if it has been recognized.
Such a line is present towards the file’s end in older versions:

ENV{libsane_matched}=="yes", RUN+="/bin/setfacl -m g:scanner:rw $env{DEVNAME}"

Putting this line into a file /etc/udev/rules.d/65-libsane.rules allows 
scanners to be recognized normally after a reboot.

-Juergen


On Sat, 05 Jan 2019 14:46:36 +0100 =?utf-8?q?Alexandre_Vaissi=C3=A8re?= 
<ava...@fmiw.org> wrote:
> 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

Reply via email to