I just tried my scanner and found it does not show (scanimage -L) unless I'm root.
ran strace as regular user and as root. Ran diff and the most glaring problems seem to be:
Running lsusb shows my scanner as: Bus 005 Device 004: ID 04a9:221c Canon, Inc.
So as a single user on a system behind a separate firewall on a trusted network, I did the unthinkable and ran the following:
I just tried my scanner and found it does not show (scanimage -L) unless I'm root.
ran strace as regular user and as root. Ran diff and the most glaring problems seem to be:
user: dev/bus/ usb/005/ 004", O_RDWR) = -1 EACCES (Permission denied) dev/bus/ usb/005/ 004", O_RDONLY) = 4 CONNECTINFO, 0xbf9facf4) = -1 EPERM (Operation not permitted)
< open("/
< open("/
< ioctl(4, USBDEVFS_
versus root:
> open("/ dev/bus/ usb/005/ 004", O_RDWR) = 4 CONNECTINFO, 0xbfdde074) = 0
> ioctl(4, USBDEVFS_
Running lsusb shows my scanner as: Bus 005 Device 004: ID 04a9:221c Canon, Inc.
So as a single user on a system behind a separate firewall on a trusted network, I did the unthinkable and ran the following:
sudo chmod -Rf 0777 /dev/bus/usb/005
That fixed my scanner perms problem.
Cheers,
Alex C.