On Sat 31 Jul 2021 at 10:20:43 +0100, mick crane wrote:
On 2021-07-30 18:30, Brian wrote:
<...>
> https://wiki.debian.org/SaneOverNetwork#escl
looking at those informative pages I think /dev/sg2 is the scanner
should that not be in group scanner ?
root@pumpkin:/# ls -l /dev |grep cdrom
lrwxrwxrwx 1 root root 3 Jul 30 17:36 cdrom -> sr0
crw-rw----+ 1 root cdrom 21, 2 Jul 30 17:36 sg2
brw-rw----+ 1 root cdrom 11, 0 Jul 30 17:36 sr0
I don't see why it should be. I too have
crw-rw----+ 1 root cdrom 21, 2 Jul 30 17:36 sg1
on bullseye. Note the +. Its an ACL. systemd, and libpam-systemd have
taken care of the correct permissions on the scanner device file. Try
getfacl /dev/sg2
(Did you ever say in this thread what the printer/scanner is?)