From owner-freebsd-questions@FreeBSD.ORG Tue Jan 8 20:34:30 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 A26B716A417 for ; Tue, 8 Jan 2008 20:34:30 +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 5BCC513C478 for ; Tue, 8 Jan 2008 20:34:30 +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 <0JUC004UJEHHOQ10@smtp5.clear.net.nz> for freebsd-questions@freebsd.org; Wed, 09 Jan 2008 09:34:29 +1300 (NZDT) Date: Wed, 09 Jan 2008 09:35:22 +1300 From: Andy Elvey In-reply-to: To: freebsd-questions@freebsd.org Message-id: <4783DE8A.1000802@paradise.net.nz> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7bit References: <478338F3.4080202@paradise.net.nz> User-Agent: Thunderbird 1.5.0.7 (X11/20061027) Subject: Re: 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 20:34:30 -0000 usleepless@gmail.com wrote: > Andy, > > On Jan 8, 2008 9:48 AM, Andy Elvey wrote: > >> 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. ) >> > > hmmm, freebsd.org seems to be broken for me.... > > - man devfs.rules > > - create /etc/devfs.rules: ( substitute wheel for the group you want ) > > [localrules=10] > add path 'da*s*' mode 0660 group wheel > > - append to /etc/rc.conf: > > devfs_system_ruleset="localrules" > > - make sure the dir you are mounting on is owned by the user who > issues the mount command. > > - make sure vfs.usermount=1 > > - reboot after changing devfs.rules & rc.conf > > worked for me, let us know if it worked for you. > > regards, > > usleep > Hi usleep - many thanks for this! I'll let you know soon :-) Bye for now - - Andy