Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Oct 1999 23:59:12 +0100
From:      "Ian J Greely" <ian@tirnanog.org>
To:        "Alfred Perlstein" <bright@wintelcom.net>, "Michael Lucas" <mwlucas@blackhelicopters.org>
Cc:        <questions@FreeBSD.ORG>
Subject:   Re: vfs.usermount problem?
Message-ID:  <001401bf1697$c5ca3760$897a38d4@ciara>

next in thread | raw e-mail | index | archive | help
-----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 <bright@wintelcom.net>
To: Michael Lucas <mwlucas@blackhelicopters.org>
Cc: questions@FreeBSD.ORG <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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001401bf1697$c5ca3760$897a38d4>