Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Oct 1999 16:02:14 -0700 (PDT)
From:      Alfred Perlstein <bright@wintelcom.net>
To:        Michael Lucas <mwlucas@blackhelicopters.org>
Cc:        questions@FreeBSD.ORG
Subject:   Re: vfs.usermount problem?
Message-ID:  <Pine.BSF.4.05.9910141601440.8080-100000@fw.wintelcom.net>
In-Reply-To: <199910141610.MAA53520@blackhelicopters.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On Thu, 14 Oct 1999, Michael Lucas wrote:

> Hello,
> 
> I'm trying to allow a desktop user to mount CDs without root access.
> (Yes, I know the security risks, but the user is me.  I'm not
> comfortable keeping a root window open just to mount & unmount
> documentation disks.)
> 
> The system is 3.3-stable, on a Toshiba 4015CDS laptop.  I've set
> vfs.usermount=1.
> 
> When I try to mount /cdrom as a regular user, I get:
> 
> moneysink~;mount /cdrom
> cd9660: Operation not permitted
> moneysink~;
> 
> To try to solve this, I've chowned nobody.nobody, chmod 777 /cdrom.
> I've made sure that cd9660.ko is proviously loaded.
> 
> The same operation succeeds as root, so it's not an fstab problem.
> 
> /var/log/messages has nothing interesting therein.
> 
> Any suggestions?

The documentation says that the mount point MUST be owned by
the user doing the mount.

good luck,
-Alfred Perlstein - [bright@rush.net|alfred@freebsd.org]
Wintelcom systems administrator and programmer
   - http://www.wintelcom.net/ [bright@wintelcom.net]

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



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.BSF.4.05.9910141601440.8080-100000>