From owner-freebsd-questions Sat Nov 3 18:33:15 2001 Delivered-To: freebsd-questions@freebsd.org Received: from chmls05.mediaone.net (chmls05.mediaone.net [24.147.1.143]) by hub.freebsd.org (Postfix) with ESMTP id C718337B405 for ; Sat, 3 Nov 2001 18:33:11 -0800 (PST) Received: from keyslapper.org (acadia.ne.mediaone.net [65.96.186.69]) by chmls05.mediaone.net (8.11.1/8.11.1) with ESMTP id fA42X7N08730; Sat, 3 Nov 2001 21:33:07 -0500 (EST) Received: (from leblanc@localhost) by keyslapper.org (8.11.6/8.11.6) id fA42XG131829; Sat, 3 Nov 2001 21:33:16 -0500 (EST) (envelope-from leblanc) Date: Sat, 3 Nov 2001 21:33:16 -0500 From: Louis LeBlanc To: freebsd-questions@FreeBSD.org, freebsd-questions@FreeBSD.org Subject: Re: mounting removable media as a regular user? Message-ID: <20011103213316.B29267@keyslapper.org> Reply-To: freebsd-questions@FreeBSD.org Mail-Followup-To: freebsd-questions@FreeBSD.ORG References: <20011103203943.A29267@keyslapper.org> <20011103175547.A78694@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="JYK4vJDZwFMowpUq" Content-Disposition: inline In-Reply-To: <20011103175547.A78694@xor.obsecurity.org> User-Agent: Mutt/1.3.23i X-bright-idea: Lets abolish HTML mail! Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --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