From owner-freebsd-questions@FreeBSD.ORG Mon Oct 20 19:52:37 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 B4ADB16A4C4 for ; Mon, 20 Oct 2003 19:52:36 -0700 (PDT) Received: from fep4.cogeco.net (smtp.cogeco.net [216.221.81.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id C74A143FBD for ; Mon, 20 Oct 2003 19:52:35 -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 0DCEFBF0 for ; Mon, 20 Oct 2003 22:52:35 -0400 (EDT) Date: Mon, 20 Oct 2003 22:52:26 -0400 From: Paul Murphy To: FreeBSD Questions Message-Id: <20031020225226.795d57f0.pnmurphy@cogeco.ca> 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=_Mon__20_Oct_2003_22_52_26_-0400_aUFUs5SkKdxNFu_l" Subject: 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 02:52:37 -0000 --Signature=_Mon__20_Oct_2003_22_52_26_-0400_aUFUs5SkKdxNFu_l Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: 7bit usbd.conf snippet: device "Flash Drive" devname "umass0" vendor 0x0ea0 product 0x2168 release 0x0200 attach "/sbin/mount -t msdos /dev/da0s1 /flash_drive" permissions of '/flash_drive' before mounting: drwxrwxrwx 2 root wheel 512 Oct 20 22:27 flash_drive permissions of '/flash_drive' after mounting: d--------- 1 root wheel 22016 Dec 31 1979 flash_drive (notice the date too!) 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? [earth] /: usbdevs -v Controller /dev/usb0: addr 1: self powered, config 1, UHCI root hub(0x0000), VIA(0x0000), rev 1.00 port 1 powered port 2 addr 2: power 200 mA, config 1, Flash Disk (0x2168), USB (0x0ea0), rev 2.00 [earth] /: uname -a FreeBSD earth.upton.net 4.9-RC FreeBSD 4.9-RC #0: Fri Oct 17 17:05:59 EDT 2003 root@earth.upton.net:/usr/obj/usr/src/sys/EARTH_ACPI i386 /var/log/messages snippet: Oct 20 22:41:55 earth /kernel: umass0: USB Flash Disk , rev 2.00/2.00, addr 2 Oct 20 22:41:55 earth /kernel: da0 at umass-sim0 bus 0 target 0 lun 0 Oct 20 22:41:55 earth /kernel: da0: Removable Direct Access SCSI-2 device Oct 20 22:41:55 earth /kernel: da0: 650KB/s transfers Oct 20 22:41:55 earth /kernel: da0: 125MB (256000 512 byte sectors: 64H 32S/T 125C) -- Cogeco ergo sum --Signature=_Mon__20_Oct_2003_22_52_26_-0400_aUFUs5SkKdxNFu_l Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/lJ9yTv5Mxsi/WPMRAowNAJ4tTrhIEH/kgeBswfL9SJ7tonI44QCfe4vq w+gBQAkjxU/x2uxRP7Ai9Ok= =L6se -----END PGP SIGNATURE----- --Signature=_Mon__20_Oct_2003_22_52_26_-0400_aUFUs5SkKdxNFu_l--