From owner-freebsd-questions Thu Oct 14 15:41:58 1999 Delivered-To: freebsd-questions@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id 7D832150FF for ; Thu, 14 Oct 1999 15:41:56 -0700 (PDT) (envelope-from bright@wintelcom.net) Received: from localhost (bright@localhost) by fw.wintelcom.net (8.9.3/8.9.3) with ESMTP id QAA08237; Thu, 14 Oct 1999 16:02:14 -0700 (PDT) Date: Thu, 14 Oct 1999 16:02:14 -0700 (PDT) From: Alfred Perlstein To: Michael Lucas Cc: questions@FreeBSD.ORG Subject: Re: vfs.usermount problem? In-Reply-To: <199910141610.MAA53520@blackhelicopters.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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