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

Re: Kamera + USB permissions

Hash: SHA1

Am Montag, 18. März 2002 19:33 schrieb Jens Benecke:
> On Mon, Mar 18, 2002 at 02:00:40AM +0200, Jarno Elonen wrote:
> > I just tried Kamera after quite a long time and it actually worked.
> > Thank you!  It isn't, however, very feasible to use because the device
> > file is owned by root: you always have to change its permissions
> > manually before starting Kamera as a non-root user.  I found a small
> > daemon called usb-perms (and packaged it into a .deb
> That's what DEVFS (device file system) is for. If you use 2.4 kernels
> and have devfs compiled in, the /dev tree will be maintained as an 'in
> memory' file system, with things like nodes, permissions, etc. (also for
> "not yet existing" nodes) saved in /etc/devfsd/perms and associated
> files.

Jens, I think he meant the files in /proc that are created by usbdevfs, there.
I read in a newsgroup about some options to usbdevfs that can give a group 
write access to usb devices.
Or you change them manually to do the same as for devfs. But that is also an 
security hole and only advisable if you only have trusted users.
After all, it makes no sense to have different rights for different usb ports 
that are completely accessible to the user.


- -- 
Mein GPG-Key ist auf meiner Homepage verfügbar: http://www.hendrik-sattler.de
        oder über pgp.net

PingoS - Linux-User helfen Schulen: http://www.pingos.schulnetz.org
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org


Reply to: