> > >
> > > >
> > > > >
> > > > > Hopefully this is a pretty simple question --
> > > > >
> > > > > How do you change the permissions that are set by devfs?  For
> > example,
> > > > > scd* are given permissions of brw-rw----, I need brw-rw-rw-.
I
> > would
> > > > > like devfs to give these devs (and this maybe useful for
future
> > > > > reference) the correct permissions.  So how do I do that?
Thanks
> > > > >
> > > >
> > > > chmod 666 /dev/scd*
> > >
> > > Won't that be reset by devfs at next reboot? That's the older,
> > non-devfs way
> > > of doing
> > > it, I think.
> > >
> >
> > Have you tried it?
> 
> Nope; that's why I said "I think". But I do recall being told that
devices
> (and
> permissions) are not set on the devices nodes, when using devfs; they
are
> dynamically set by devfs at boot. Specifically, I recall seeing
mention in
> the ALSA faq
> that you must set permissions on the /dev/sequencer device (for one)
in the
> devfsd.conf file if you are using devfs, or use chmod on the /dev/dsp
if not
> using
> devfs. So I wondered if the same logic would apply here, since he is
using
> devfs.
>


devfsd is responsible for restoring permissions. When you change
permissions using chmod they are saved and when node is registered in
devfs again they are reapplied. This is theory. If it does not work it
should be considered on per-case basis.

> > > I *think* you need to modify the devfsconf file, or whatever the
> > config file
> > > name is.
> > >
> >
> > Well, go ahead then. I presume you mean /etc/devfsd.conf
> 
> Actually, I wasn't the one asking how to change the permissions.
> 

Sorry.

-andrej

Reply via email to