Date: Sat, 3 Nov 2001 21:33:16 -0500 From: Louis LeBlanc <leblanc+freebsd@keyslapper.org> To: freebsd-questions@FreeBSD.org, freebsd-questions@FreeBSD.org Subject: Re: mounting removable media as a regular user? Message-ID: <20011103213316.B29267@keyslapper.org> In-Reply-To: <20011103175547.A78694@xor.obsecurity.org> References: <20011103203943.A29267@keyslapper.org> <20011103175547.A78694@xor.obsecurity.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--JYK4vJDZwFMowpUq Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 11/03/01 05:55 PM, Kris Kennaway sat at the `puter and typed: > On Sat, Nov 03, 2001 at 08:39:44PM -0500, Louis LeBlanc wrote: > > Hey folks. Just came home with my Nikon CoolPix 885 and Sandisk > > SDDR-31-01. Sweet! > >=20 > > It took a little searching once I got things physically hooked up, but > > I can now mount it as a dos partition. The only thing I'd like to do > > now, is be able to mount it as me rather than root. So, what are the > > caveats of changing permissions on the device itself? Is there a way > > to make it automount so I don't have to worry? > >=20 > > I rarely have to bother with mounting removable media, since I rarely > > use CDs - until I get my CDRW in, and I never trust floppies, so what > > is the best way to handle this? >=20 > You need to toggle the vfs.usermount sysctl and change the device > permissions so that the appropriate users can mount it. >=20 > Kris Hmm. I tried the following: sysctl vfs.usermount=3D1 chmod 777 /dev/da0s1 and no good. I have the following in my /etc/fstab: /dev/da0s1 /sandisk msdos rw,noauto 0 0 And /sandisk has permissions set at 777 I think that should be right. Any other ideas? I can still mount it fine as root, so the permissions are the only issue. Any ideas what I'm doing wrong? Thanks Lou --=20 Louis LeBlanc leblanc@keyslapper.org Fully Funded Hobbyist, KeySlapper Extrordinaire :) http://www.keyslapper.org =D4=BF=D4=AC For large values of one, one equals two, for small values of two. --JYK4vJDZwFMowpUq Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE75KjseAPWYrNkRWIRAh5eAJ93KAKF5sJ/2xlPrgXd8sLzNAuX0wCaA495 MRAY330utO3C3bXq5tZjJCA= =QZ4/ -----END PGP SIGNATURE----- --JYK4vJDZwFMowpUq-- 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?20011103213316.B29267>