From owner-freebsd-questions@FreeBSD.ORG Tue Oct 21 15:34:23 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B5E2A16A4B3 for ; Tue, 21 Oct 2003 15:34:23 -0700 (PDT) Received: from fep4.cogeco.net (smtp.cogeco.net [216.221.81.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0DABA43FCB for ; Tue, 21 Oct 2003 15:34:23 -0700 (PDT) (envelope-from pnmurphy@cogeco.ca) Received: from earth.upton.net (d141-18-230.home.cgocable.net [24.141.18.230]) by fep4.cogeco.net (Postfix) with SMTP id C82B6A0F for ; Tue, 21 Oct 2003 18:33:41 -0400 (EDT) Date: Tue, 21 Oct 2003 18:32:57 -0400 From: Paul Murphy To: freebsd-questions@freebsd.org Message-Id: <20031021183257.64beb716.pnmurphy@cogeco.ca> In-Reply-To: <20031021122614.GA34890@watt.intra.caraldi.com> References: <20031020225226.795d57f0.pnmurphy@cogeco.ca> <20031021071556.GA22651@watt.intra.caraldi.com> <20031021071520.4f890bb8.pnmurphy@cogeco.ca> <20031021122614.GA34890@watt.intra.caraldi.com> X-Mailer: Sylpheed version 0.9.6claws (GTK+ 1.2.10; i386-portbld-freebsd4.9) Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="pgp-sha1"; boundary="Signature=_Tue__21_Oct_2003_18_32_57_-0400_qrqD9B/VzRc5vJUe" Subject: Re: Weirdness with permissions after mounting USB flash drive X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Oct 2003 22:34:23 -0000 --Signature=_Tue__21_Oct_2003_18_32_57_-0400_qrqD9B/VzRc5vJUe Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: 7bit On Tue, 21 Oct 2003 14:26:17 +0200 Jean-Baptiste Quenot wrote: > * Paul Murphy: > > > Jean-Baptiste Quenot wrote: > > > > > * Paul Murphy: > > > > > > > I _can_ read/write to it as root, but I would really like to > > > > use > > > > it as a non-root user. Any thoughts as to why this is happening? > > > > > > [...] in /etc/fstab you may adjust the mode, see below -m700 > > > for msdos filesystem: > > > > > > /dev/da0s1 /mnt/usbkey msdos rw,-m700,noauto 0 0 > > > > fstab: /dev/da0s1 /flash_drive msdos rw,-m775,noauto 0 0 > > > > > > mounted permisions: d--------- 1 root wheel 22016 Dec 31 > > 1979 flash_drive > > FWIW you could check if your specific FreeBSD supports the -m switch > by looking at the mount_msdosfs man page. > Seems to, at least the man page says so. Also tried 'chmod 755 /flash_drive' after the fact, but it is silently ignored. I'm stumped! -- Cogeco ergo sum --Signature=_Tue__21_Oct_2003_18_32_57_-0400_qrqD9B/VzRc5vJUe Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/lbQhTv5Mxsi/WPMRAqJ4AJ9iMNLPgj9iOOIaoaA2+tfqDuW52ACfbh7P Bw0eopeCgMlYxRAh7Z7P5tM= =mH0O -----END PGP SIGNATURE----- --Signature=_Tue__21_Oct_2003_18_32_57_-0400_qrqD9B/VzRc5vJUe--