Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Feb 2000 08:45:49 -0600 (CST)
From:      "Dennis I. Kovarsky" <kovarsky@duke.usask.ca>
To:        Omachonu Ogali <oogali@intranova.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: user mounting /cdrom
Message-ID:  <Pine.OSF.4.20.0002250835260.12281-100000@duke.usask.ca>
In-Reply-To: <Pine.BSF.4.10.10002231858400.3000-100000@hydrant.intranova.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 23 Feb 2000, Omachonu Ogali wrote:
> Add that line to /etc/rc.local, that should work.
> 
> On Wed, 23 Feb 2000, Dennis I. Kovarsky wrote:
> 
> > QUESTION: How can you allow users (better yet - groups) to mount /cdrom
> > without having to su?
> > 
> > TESTED: sounds like sysctl is the way to go. But... Created /etc/rc.sysctl
> > with sysctl -w vfs.generic.usermount=1 in there... rebooted... no luck.
> > 
> > Any ideas? Am I gonna have to write my own mount? ;)

That didn't work either. So far I have tried all combinations of the
following:     ;)

- su
- create file /etc/rc.sysctl with "sysctl -w vfs.usermount=1" in it
- create file /etc/rc.local with --//-- in it.
- chmod 777 /cdrom (drastic times call for drastic measures)
- --//--    /dev/acd0c

The fact is, sysctl vfs.usermount DOES report 1, yet when trying to mount
from a wheel user I still get opration not permitted... Is there a
specific xxx.usermount for iso9660? Should I try something more specific
than just mount /cdrom when mounting?

running 3.4-release
compaq deskpro 2000
64M ram

Thank you.



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.OSF.4.20.0002250835260.12281-100000>