The perennial vfs.usermount query
Emanuel.strobl at gmx.net
Thu Jun 16 10:00:24 GMT 2005
Am Donnerstag, 16. Juni 2005 04:18 schrieb Joe Altman:
> 1) If this:
> $: more /etc/sysctl.conf
> # $FreeBSD: src/etc/sysctl.conf,v 1.8 2003/03/13 18:43:50 mux Exp $
> # This file is read when going to multi-user and its contents piped
> # thru ``sysctl'' to adjust kernel values. ``man 5 sysctl.conf'' for
> # details.
> # Uncomment this to prevent users from seeing information about
> #processes that are being run under another UID.
> 2) And, --> after a reboot <--, this:
> $: sysctl -a | grep vfs.usermount
> vfs.usermount: 0
> Ergo, I get this:
> cd9660: /dev/acd0: Operation not permitted
> When trying this:
> mount -t cd9660 /dev/acd0 /usr/home/joe/mountpoint/
> Then my question is: wtfoobar am I doing wrong?
Nothing. But if you want it persistant you have to put it in loader.conf or
sysctl.conf, depending on the kind of sysctl (loader tunable or runtime
> Additional info:
> $: more /etc/devfs.conf
> perm acd0 0660
> link acd0 cdrom
> Speculating, I assume that the BUGS section of sysctl.conf(5) applies,
Hmm, what's your problem? You can't set the sysctl or it is unset after a
reboot? The latter of course is true.
> NB: the page covering this in the FAQ at freebsd.org says run this:
> sysctl -w vfs.usermount=1
> The man page for sysctl on 5.4 says this:
> The -w option has been deprecated and is silently ignored.
> Is the -w flag only for 4.x installations?
> I'm pretty sure I'm going to see the answer to this as soon as I hit
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20050616/66a57ae7/attachment.bin
More information about the freebsd-questions