Summary: | usbfs: scanners have wrong group (should be scanner, not root) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Jure Repinc <jlp.bugs> |
Component: | [OLD] Core system | Assignee: | Greg Kroah-Hartman (RETIRED) <gregkh> |
Status: | RESOLVED CANTFIX | ||
Severity: | major | CC: | navid.zamani |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Jure Repinc
2004-10-15 09:58:15 UTC
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?) |