linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kilobug@freesurf.fr (Gaël Le Mignot)
To: linux-kernel@vger.kernel.org
Subject: 2.6.0-test1, usbfs: devgid parameter seems ignored
Date: Fri, 25 Jul 2003 12:02:48 +0200	[thread overview]
Message-ID: <plopm3ptjy3ovr.fsf@drizzt.kilobug.org> (raw)


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

             reply	other threads:[~2003-07-25  9:44 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-25 10:02 Gaël Le Mignot [this message]
2003-07-26 17:00 ` 2.6.0-test1, usbfs: devgid parameter seems ignored Greg KH

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=plopm3ptjy3ovr.fsf@drizzt.kilobug.org \
    --to=kilobug@freesurf.fr \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).