allowing users to mount cdrom

Simon Barner barner at in.tum.de
Sat Jul 3 14:38:35 PDT 2004


jobse wrote:
> Dear List,
> When trying to mount the cdrom I get Operation not permitted.
> sysctl: vfs.usermount=0(what does that mean and how can I *permanently*
> change it to 1)

It means, that users are not allowed to mount file systems.

To change it, run (as root)
# sysctl vfs.usermount=1

To make this permanent, add vfs.usermount=1 to /etc/sysctl.conf.

Now, regular users are allowed to mount file systems on directories they
own.

> I'd rather not set the sticky bit on mount/umount if I mustn't.

s/sticky/suid/

Simon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: Digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20040703/18403ad6/attachment.bin


More information about the freebsd-questions mailing list