http://forums.virtualbox.org/viewtopic.php?f=7&t=18934#p81634
Re: USB not working (with PUEL)
Found the problem.Debian Lenny sets up /proc/bus/usb and /dev/bus/usb as root:root without write permissions.
So, I needed to dig and find this:
/etc/init.d/mountkernfs.sh
I edited that file. The line in question (line 75) as supplied by Debian:
domount usbfs usbdevfs /proc/bus/usb usbfs -onodev,noexec,nosuid
This needed to be changed to:
domount usbfs usbdevfs /proc/bus/usb usbfs -onodev,noexec,nosuid,devmode=0664,devgid=46
Group ID 46 is "plugdev" for my system, and it makes sense to me to have that group given write permissions to the USB devices, since that group allows one to mount and use removable (usually USB) media. devmode=0664 just adds +w to the owner and group - which is required in addition to just changing the group itself.
I needed to reboot to activate this, since it's not a normal init script.
沒有留言:
張貼留言