[sane-devel] Setting usb permissions by hand

Nick Andrew nick at nick-andrew.net
Thu Aug 28 12:33:02 UTC 2008

On Wed, Aug 27, 2008 at 04:56:13PM +0000, Kanito 73 wrote:
> > Add your username to the 'scanner' group, keep udev and don't touch the
> > device permissions.
> I currently belong to users, root and scanner groups... udev remains
> untouched, epson.conf is ok since it works as root, but there's no
> access as normal user yet, have no idea why...

So do you see something like this?

nick at machine:~$ id
uid=1000(nick) gid=1000(nick) groups=24(cdrom),29(audio),44(video),113(scanner),1000(nick)
nick at machine:~$ ls -l /dev/bus/usb/002/002
crw-rw-r-- 1 root scanner 189, 129 Aug 28 22:29 /dev/bus/usb/002/002
nick at machine:~$ ls -l /usr/bin/scanimage
-rwxr-xr-x 1 root root 39044 Aug  5 20:45 /usr/bin/scanimage

As you can see my user has write access to the scanner device and so
scanimage works with no need for setuid.


More information about the sane-devel mailing list