2.6.0-test1, usbfs: devgid parameter seems ignored

From: Gaël Le Mignot (kilobug@freesurf.fr)
Date: Fri Jul 25 2003 - 05:02:48 EST


Hello,

I've tried Linux 2.6.0-test1, -ac1 and -ac3 on two computers, and each
time the options passed (like devgid or devmode) to usbfs when mouting
it seem to be ignored:

(kilobug@drizzt, 8) ~ $ sudo mount none -t usbfs /proc/bus/usb -o devgid=143,devbmode=0664
(kilobug@drizzt, 9) ~ $ ls /proc/bus/usb
001 002 devices
(kilobug@drizzt, 10) ~ $ ls -l /proc/bus/usb
total 0
dr-xr-xr-x 2 root root 0 Jul 25 09:34 001
dr-xr-xr-x 2 root root 0 Jul 25 09:34 002
-r--r--r-- 1 root root 0 Jul 25 09:34 devices
(kilobug@drizzt, 11) ~ $ ls -l /proc/bus/usb/001/
total 0
-rw-r--r-- 1 root root 43 Jul 25 09:34 001

With exactly the same entry in fstab:
/proc/bus/usb /proc/bus/usb usbdevfs rw,devmode=0664,devgid=143 0 0
it works fine with 2.4.

It's pretty annoying to be forced to use sudo just to download photos
from my camera ! ;)

-- 
Gael Le Mignot "Kilobug" - kilobug@nerim.net - http://kilobug.free.fr
GSM         : 06.71.47.18.22 (in France)   ICQ UIN   : 7299959
Fingerprint : 1F2C 9804 7505 79DF 95E6 7323 B66B F67B 7103 C5DA

Member of HurdFr: http://hurdfr.org - The GNU Hurd: http://hurd.gnu.org - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Jul 31 2003 - 22:00:25 EST