vfs.usermount and directory owner

Roland Smith rsmith at xs4all.nl
Fri May 6 01:41:03 PDT 2005


On Fri, May 06, 2005 at 09:41:45AM +0200, Emanuel Strobl wrote:
> Hello,
> 
> I want to be able to access my cd drive as normal user. As any user, not a 
> specific one. So it's a problem that I can't mount it to a general 
> directory like /cdrom since only one user can be owner and it looks like 
> it's required that the mountpoint belongs to the user, even with 
> vfs.usermount=1 set.

If you set the setuid bit on /sbin/mount and /sbin/umount, you should be
able to get around this limitation, I think.

Roland
-- 
R.F. Smith                           /"\    ASCII Ribbon Campaign
r s m i t h @ x s 4 a l l . n l      \ /    No HTML/RTF in e-mail
http://www.xs4all.nl/~rsmith/         X     No Word docs in e-mail
public key: http://www.keyserver.net / \    Respect for open standards
-------------- 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/20050506/bd4bda90/attachment.bin


More information about the freebsd-questions mailing list