From owner-freebsd-questions@FreeBSD.ORG Tue Jan 8 09:03:01 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C77CE16A418 for ; Tue, 8 Jan 2008 09:03:01 +0000 (UTC) (envelope-from andy.elvey@paradise.net.nz) Received: from smtp5.clear.net.nz (smtp5.clear.net.nz [203.97.33.68]) by mx1.freebsd.org (Postfix) with ESMTP id A572713C457 for ; Tue, 8 Jan 2008 09:03:01 +0000 (UTC) (envelope-from andy.elvey@paradise.net.nz) Received: from [203.97.97.11] (203-97-97-11.cable.telstraclear.net [203.97.97.11]) by smtp5.clear.net.nz (CLEAR Net Mail) with ESMTP id <0JUB00A47HRZ9V00@smtp5.clear.net.nz> for freebsd-questions@freebsd.org; Tue, 08 Jan 2008 21:48:00 +1300 (NZDT) Date: Tue, 08 Jan 2008 21:48:51 +1300 From: Andy Elvey To: freebsd-questions@freebsd.org Message-id: <478338F3.4080202@paradise.net.nz> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7bit User-Agent: Thunderbird 1.5.0.7 (X11/20061027) Subject: Hi - followed FAQ but can't mount USB key as user X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Jan 2008 09:03:01 -0000 Hi all - I've recently installed FreeBSD 6.2-release - very impressed! Just a small problem. I'm unable to mount my USB key as a user. ( I can mount it as root, using the command "mount -t msdos /dev/da0s1 /mnt " ) This is what I get when I try to mount it as a user - $ mount -t msdos /dev/da0s1 /home/andy mount_msdosfs: /dev/da0s1: Permission denied $ mount -t msdos /dev/da0s1 /mnt mount_msdosfs: /dev/da0s1: Operation not permitted I followed the instructions in the FAQ ( section 9.23 ) to the letter ( the only change being that that doesn't mention USB devices, so I've substituted the USB device name da0 for the device names there. ) Here are the relevant bits of information - Release - FreeBSD 6.2-release running on a Dell OptiPlex P3 system. Soon after I inserted the USB key, I ran tail - here's the output - $ tail -f /var/log/messages Jan 8 21:37:51 localhost kernel: ad0: 8223MB at ata0-master UDMA33 Jan 8 21:37:51 localhost kernel: acd0: CDROM at ata1-master PIO4 Jan 8 21:37:51 localhost kernel: Trying to mount root from ufs:/dev/ad0s1a Jan 8 21:40:02 localhost kernel: uhub1: Prolific Technology Inc. USB Embedded Hub, class 9/0, rev 2.00/1.00, addr 2 Jan 8 21:40:02 localhost kernel: uhub1: 1 port with 0 removable, self powered Jan 8 21:40:03 localhost kernel: umass0: Prolific Technology Inc. USB Mass Storage Device, rev 2.00/1.00, addr 3 Jan 8 21:40:03 localhost kernel: da0 at umass-sim0 bus 0 target 0 lun 0 Jan 8 21:40:03 localhost kernel: da0: Removable Direct Access SCSI-0 device Jan 8 21:40:03 localhost kernel: da0: 1.000MB/s transfers Jan 8 21:40:03 localhost kernel: da0: 992MB (2031616 512 byte sectors: 64H 32S/T 992C) $ usbdevs addr 1: UHCI root hub, Intel addr 2: USB Embedded Hub, Prolific Technology Inc. addr 3: USB Mass Storage Device, Prolific Technology Inc. $ cat /etc/fstab # Device Mountpoint FStype Options Dump Pass# /dev/ad0s1b none swap sw 0 0 /dev/ad0s1a / ufs rw 1 1 /dev/ad0s1d /home ufs rw 2 2 /dev/acd0 /cdrom cd9660 ro,noauto 0 0 ( Just before posting here, I was about to add a usb entry to the fstab, but then I thought "No - it wasn't needed for root to mount the device, and adding that to the fstab wasn't mentioned in the FAQ that I was carefully following"......) $ groups andy andy wheel operator $ cat /etc/rc.conf ( removed my IP address details for the purposes of posting here ) linux_enable="YES" moused_enable="YES" usbd_enable="YES" So, I'm a bit puzzled as to what I might have missed. I've now even rebooted a couple of times, but nothing has changed. I can mount the device as root but not as a user. So, any suggestions are very welcome... Thanks very much for your time :-) - Andy