[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

usbfs devmode problem on 2.6.1-ben1



Hi,

i try to use an usb digital camera on an AlBook under debian unstable
with kernel 2.6.1-ben1. Gphoto2 works well as root but not as normal
user, usbfs seems to be mounted correctly with devmode=0666 wich should
provide access to usb device r/w for normal user :

# mount
/dev/hda4 on / type ext3 (rw,errors=remount-ro)
proc on /proc type proc (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/hda6 on /home type ext3 (rw)
sysfs on /sys type sysfs (rw)
usbfs on /proc/bus/usb type usbfs (rw,devmode=0666)

OK, but if i look at real perms on filesystem :

$ ls -la /proc/bus/usb/001/
total 0
dr-xr-xr-x    2 root     root            0 Jan 20 15:37 .
drwxr-xr-x    6 root     root            0 Jan 20 15:37 ..
-rw-r--r--    1 root     root           43 Jan 20 15:37 001
-rw-r--r--    1 root     root          211 Jan 20 15:37 002

it seems the devmode=0666 perms were not applied. Does somebody knows
why ? Is it a bug ?

-- 
mammique <mammique@lamenagerie.com>



Reply to: