Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Dec 2003 15:05:09 -0500
From:      Eric Pogroski <pogrose@twcny.rr.com>
To:        freebsd-questions@freebsd.org
Subject:   devfs.conf silliness??
Message-ID:  <20031205150509.6a086241.pogrose@twcny.rr.com>

next in thread | raw e-mail | index | archive | help
Hi all. can someone please explain this to me:

/etc/devfs.conf
# examples, blah
# my devices/perms/etc
perm mdctl 0660
own  mctl user:operator
[/code] I can create md* without any issues, but if I add this:
[code]
perm md* 0660
own md* user:operator
--OR--
perm md0 0660
own md0 user:operator
[/code]

it defaults to root:operator when I do say
mdconfig -a -t vnode -f example.iso
, and I'm unable to mount it without either becoming root, or mounting it
with sudo, which I thought was the point of devfs.conf in the first place
(to set userland permissions on devices so that non root users could 
mount/dismount them if needed)?

is thier some undocumented <blah>.conf or sysctl variable that I'm just not finding, 
or is devfs.conf fundamentally broken for 'dynamic' devices (ie: it can't understand 
wildcards, or even handle me plugging in or creating another device, i.e:USB keyfob
, or mounting a ISO image, while the machine is up and running)?

thanks!



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031205150509.6a086241.pogrose>