Bug 2575 - mounting usbfs still ignores devmode permissions
Summary: mounting usbfs still ignores devmode permissions
Status: REJECTED DUPLICATE of bug 1418
Alias: None
Product: Drivers
Classification: Unclassified
Component: USB (show other bugs)
Hardware: i386 Linux
: P2 normal
Assignee: Greg Kroah-Hartman
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-22 22:37 UTC by monty
Modified: 2004-04-22 22:42 UTC (History)
1 user (show)

See Also:
Kernel Version: 2.6.5
Subsystem:
Regression: ---
Bisected commit-id:


Attachments

Description monty 2004-04-22 22:37:23 UTC
devmode in fstab is being completely ignored by usbfs on 2.6.5 meaning
user-attached devices can only be accessed by root.

debian:~# uname -a
Linux debian 2.6.5 #1 SMP Mon Apr 5 18:15:37 BST 2004 i686 unknown

debian:~# cat /etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options>                  <dump> <pass>
/dev/sda1       /             ext3   defaults,errors=remount-ro 0      1
proc            /proc         proc   defaults                   0      0
none            /proc/bus/usb usbfs  defaults,devmode=0666      0      0

debian:~# ls -al /proc/bus/usb/002/002
-rw-r--r--    1 root     root           43 Apr 23 04:22 /proc/bus/usb/002/002

2.4 is not exhibiting the problem.  Output from a 2.4 machine is as expected:

snotfish# ls -al /proc/bus/usb/002/002 
-rw-rw-rw-    1 root     root           18 Apr 23 01:14 /proc/bus/usb/002/002

Monty
Comment 1 Greg Kroah-Hartman 2004-04-22 22:42:54 UTC

*** This bug has been marked as a duplicate of 1418 ***

Note You need to log in before you can comment on or make changes to this bug.