[Bug 1890464] Re: Can not scan as user

2022-03-12 Thread Gunnar Hjalmarsson
$ getfacl /dev/bus/usb/001/004 getfacl: Removing leading '/' from absolute path names # file: dev/bus/usb/001/004 # owner: root # group: lp user::rw- group::rw- other::r-- That reminds me of an alternative way: sudo chmod o+w /dev/bus/usb/001/004 The problem with that (if I remember correctly)

[Bug 1890464] Re: Can not scan as user

2022-03-12 Thread David Ward
Assuming you are not in the lp or scanner groups, what happens if you try to use scanimage to scan an image? (See "scanimage --help" for syntax, and use the device name that appears when you run "scanimage -L".) If that doesn't work, can you add the --verbose flag to scanimage, and attach the

[Bug 1890464] Re: Can not scan as user

2022-03-12 Thread David Ward
Actually, here's a better question first. Take yourself out of the lp and scanner groups. What do you see when you run: $ getfacl /dev/bus/usb/001/004 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1890464] Re: Can not scan as user

2022-03-12 Thread Gunnar Hjalmarsson
** Attachment added: "xsane_error.png" https://bugs.launchpad.net/ubuntu/+source/sane-backends/+bug/1890464/+attachment/5568208/+files/xsane_error.png -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1890464] Re: Can not scan as user

2022-03-12 Thread Gunnar Hjalmarsson
On 2022-03-12 14:32, David Ward wrote: > Yes, that is what I meant by physically logged in. > > You shouldn't need to be in the scanner group (or the lp group) in > that case. The lp group still (21.10) makes a difference for my combined printer and scanner. $ lsusb | grep Brother Bus 001

[Bug 1890464] Re: Can not scan as user

2022-03-12 Thread antoine
I am not using xubuntu 20.04 now, I switch to another linux distro recently, so I can not give you the output you are looking for. All I can say is that adding myself in the lp group solved the issue -- You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 1890464] Re: Can not scan as user

2022-03-12 Thread David Ward
Yes, that is what I meant by physically logged in. You shouldn't need to be in the scanner group (or the lp group) in that case. If you remove yourself from both of those groups, does this stop working? If so, what is the output of "sudo scanimage -L"? -- You received this bug notification

[Bug 1890464] Re: Can not scan as user

2022-03-12 Thread antoine
I am not sure about what you mean by physically logged. I am not using ssh or vnc, I was using xubuntu on a personal computer so I guess I was physically logged. As you can see in my previous message, I was not in the scanner group neither and I do not know why. ** Changed in: sane-backends

[Bug 1890464] Re: Can not scan as user

2022-03-11 Thread David Ward
Please see the "SETUP" section of /usr/share/libsane1/doc/README.Debian.gz. You must either be logged into a physical console on the system (not an SSH/VNC session) - or if you want to bypass that requirement, you must add the user to the "scanner" group. This is expected behavior. (Adding the

[Bug 1890464] Re: Can not scan as user

2020-08-05 Thread Gunnar Hjalmarsson
Great! I suspected that was it because I need to do the same for my own scanner. Not sure whether this obstacle is a bug which can be fixed. Keeping the bug open for now. ** Changed in: sane-backends (Ubuntu) Status: Incomplete => Confirmed -- You received this bug notification because

[Bug 1890464] Re: Can not scan as user

2020-08-05 Thread antoine
Thank you I added myself in the lp group antoine@Talos:~$ groups antoine antoine : antoine adm cdrom sudo dip plugdev lpadmin lxd sambashare antoine@Talos:~$ sudo adduser $USER lp [sudo] Mot de passe de antoine : Ajout de l'utilisateur « antoine » au groupe « lp »... Ajout de l'utilisateur

[Bug 1890464] Re: Can not scan as user

2020-08-05 Thread Gunnar Hjalmarsson
Try to add yourself to the lp group: sudo adduser $USER lp and let us know if it helps. ** Changed in: sane-backends (Ubuntu) Status: New => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1890464] Re: Can not scan as user

2020-08-05 Thread Paul White
** Package changed: ubuntu => sane-backends (Ubuntu) ** Tags added: focal -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1890464 Title: Can not scan as user To manage notifications about this bug

[Bug 1890464] Re: Can not scan as user

2020-08-05 Thread Ubuntu Foundations Team Bug Bot
Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people