From owner-freebsd-questions Thu Oct 14 15:57:23 1999 Delivered-To: freebsd-questions@freebsd.org Received: from cask.force9.net (cask.force9.net [195.166.128.29]) by hub.freebsd.org (Postfix) with SMTP id CA58B15281 for ; Thu, 14 Oct 1999 15:57:13 -0700 (PDT) (envelope-from ian@tirnanog.org) Received: (qmail 9490 invoked from network); 14 Oct 1999 22:57:07 -0000 Received: from unknown (HELO ciara) (212.56.122.137) by cask.force9.net with SMTP; 14 Oct 1999 22:57:07 -0000 Message-ID: <001401bf1697$c5ca3760$897a38d4@ciara> Reply-To: "Ian J Greely" From: "Ian J Greely" To: "Alfred Perlstein" , "Michael Lucas" Cc: Subject: Re: vfs.usermount problem? Date: Thu, 14 Oct 1999 23:59:12 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3110.5 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 This can be done using Samba. There is a directive to run a command as root before connection and a command to run after the user disconnects. I have it mount the cd filesystem before it exports. This allows me to mount and unmount CD's on the FreeBSD box from my doze laptop. regards, Ian - -----Original Message----- From: Alfred Perlstein To: Michael Lucas Cc: questions@FreeBSD.ORG Date: Thursday, October 14, 1999 11:48 PM Subject: Re: vfs.usermount problem? > >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 > -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 6.0.2i iQA/AwUBOAZgP/V49GQ1PAIGEQLiXgCg9kU3Yndjf6ZDqVs6A+dQ9AuoHOsAn1ef NHhAK5wf2XadVhMhXU89h0tz =Un3p -----END PGP SIGNATURE----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message