NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: How to restrict (audio) device permissions to a group?
On Mon, Nov 14, 2011 at 07:13:02PM +0530, Mayuresh wrote:
> On Mon, Nov 14, 2011 at 02:32:37PM +0100, Ignatios Souvatzis wrote:
> > > > chmod o-rwx /dev/audio0 /dev/audioctl0 /dev/sound0
> > > > chmod g+rwx /dev/audio0 /dev/audioctl0 /dev/sound0
> > >
> > > Where to put such commands so that this happens on every boot?
> >
> > You only need them *once*.
>
> Works! Interesting that device permissions stick.
That's becuase in traditional Unix, they're - like file permissions -
permissions on a number used to access the real thing.
For devices, that's the major and minor device number; for files,
that's the inode number.
-is
Home |
Main Index |
Thread Index |
Old Index