seems incompatible with the suggestion that in Lucid you have a problem with permissions in /dev/bus - given that you have said (in recent testing) that:ahoppin wrote:I just plugged the scanner into my laptop and booted Tahr. Xsane found it and worked with it perfectly (if slow to start) when run as root.
But when run as spot, xsane could NOT find the scanner...
Until I did (as root):
# sane-find-scanner
found USB scanner ... at libusb:002:003 ... [LOTS more text]
# scanimage -L
device 'epson2:libusb:002:003' is a Epson GT-9300 flatbed scanner
# cd /dev/bus/usb/002
# chmod o+rw 003
# cd /dev
# chmod ugo+x bus
And then xsane worked when run as spot!
Now if I could just figure out how to do the same in Lucid -- but it doesn't have the directory /dev/bus. Instead, it has /dev/usbdevX.Y
If you are correct that /dev (and recursive) permissions are already fine for Spot's needs, then I see no need to be wanting to do the chmod things that worked previously. Or have I misinterpreted this? I would have expected setting all /dev files for the permissions you wanted would make Spot happy. If it didn't then surely that requires us to look further afield? Maybe force all /etc files to the permissions you need? Or maybe /proc too?There's no need to change the permissions of /dev, it's already 755 (rwxr-xr-x), so it's searchable by anyone.
The usbdev* files are at the first level under /dev, so there are no directories that would need to be changed.
Or, in your example above, did Spot start to work simply because you had already surmounted the problem by running the scanner as root first?