Date: Mon, 20 Oct 2003 22:52:26 -0400 From: Paul Murphy <pnmurphy@cogeco.ca> To: FreeBSD Questions <freebsd-questions@FreeBSD.ORG> Subject: Weirdness with permissions after mounting USB flash drive Message-ID: <20031020225226.795d57f0.pnmurphy@cogeco.ca>
next in thread | raw e-mail | index | archive | help
--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: <OTi Flash Disk 2.00> 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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031020225226.795d57f0.pnmurphy>