devfs permissions wierdness

Louis LeBlanc FreeBSD at keyslapper.net
Wed Jul 6 23:35:27 GMT 2005


On 07/07/05 01:11 AM, Roland Smith sat at the `puter and typed:
> On Wed, Jul 06, 2005 at 04:11:41PM -0400, Louis LeBlanc wrote:
> > I have my devfs config set up to allow certain devices to be mounted
> > by users in the cdusers group as follows:
> > 
> > own     da1     root:cdusers
> > perm    da1     0660
> > own     da1a    root:cdusers
> > perm    da1a    0660
> > own     da1c    root:cdusers
> > perm    da1c    0660
> > own     da1s1   root:cdusers
> > perm    da1s1   0660
> > 
> > Problem is it doesn't work unless I go in as root and manually restart
> > the devfs facility with `/etc/rc.d/devfs restart`
> 
> Configuration for devices present at boot goes into devfs.conf. For
> hotpluggable devices, the rules (with slightly different format) should
> go in devfs.rules.
> 
> The manual pages I wrote for devfs.conf and devfs.rules were committed
> to CURRENT a couple of weeks ago. I don't know if and when they will
> appear in 5-STABLE. But you can find them on my FreeBSD webpage:
> http://www.xs4all.nl/~rsmith/freebsd/ This page has some more info about
> setting this up.
> 
> HTH

Excellent.  This is exactly what I was looking for.

My pluggable USB devices are all falling in line now.

Thank you!

Lou
-- 
Louis LeBlanc                          FreeBSD-at-keyslapper-DOT-net
Fully Funded Hobbyist,                   KeySlapper Extrordinaire :)
Please send off-list email to:         leblanc at keyslapper d.t net
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

What the scientists have in their briefcases is terrifying.
    -- Nikita Khruschev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20050706/2b971db7/attachment.bin


More information about the freebsd-questions mailing list