I can't use my USB scanner as normal user. I can only use it as root. I found out that there is a group created on my system named scanner, which I suppose is for users that are allowed to scan. I added myself to that group but I still couldn't scan. Then I checked out the permissions on scanner device and it was set to user root an group root. I guess the group should be scanner. Reproducible: Always Steps to Reproduce: 1. Run Kooka as root 2. Scanner is detected and works just fine 3. Run Kooka as normal user, which is in scanner group Actual Results: Scanner is not detected and you can't scan. Expected Results: Scanner should be available to all users in scanner group I also noticed that scanner is set to group root everytime I restart my computer. If I unplug the scanner and then plug it back the scanner has group set to scanner. I also noticed that in /etc/udev/permissions.d/50-udev.permissions there is: # scanner devices scanner:root:root:0600 usb/scanner*:root:root:0600 Shouldn't this be: # scanner devices scanner:root:scanner:0600 usb/scanner*:root:scanner:0600
I also noticed that hotplug script /etc/hotplug/usb/libusbscanner sets permissions to 0660 but udev sets them to 0600. I'm not sure which one is more correct but I gues that would be 0660.
There is no 2.6 kernel scanner driver. So I don't see how udev has anything to do with this.
Then where do the group and user an permission for scanner get set. Because they are always automatically set wrong. It still has to be a problem somwhere. If not udev then it is something else.
usbfs is in control of that, not udev.
To clarify, it's a mount option for usbfs as to what to set the ownership of the usb file descriptors to. See the documentation somewhere (sorry, can't remember where right now) for details on how to set this up for your needs.
So this bug is still valid. Only the problem is the default settings for usbfs instead of udev. I'll change the summary.
No, it's up to you to change the default setting of usbfs in your /etc/fstab file. There is no gentoo package that can do this for you, sorry.
THERE IS NO ENTRY IN THE FSTAB FOR USBFS. I have a working usbfs and I never had a line about usbfs in the fstab. So what are you talking about?? First get your facts straight. Where is the place to configure the usbfs mount options? Because it clearly is *not* inside fstab.
Then add such an entry, it's not hard :) If you don't have an entry for it in your fstab, I don't know what is mounting it for you, perhaps /etc/init.d/procfs?
Hey, (In reply to comment #9) > perhaps /etc/init.d/procfs? Yes, it is. i looked inside. > Then add such an entry, it's not hard :) The problem is, that then I would have two mount commands trying to mount it, won't there? To me, this sounds like a very bad idea. The proper solution would be, if /etc/init.d/procfs had a /etc/conf.d/procfs, to set this. Unfortunately it hasn't. Maybe it would be a good idea to add one. What do you think? (Oh, and I notice that this is very much off-topic for the bug now. Should we create a new bug?)