From owner-freebsd-questions@FreeBSD.ORG Tue Jan 8 13:06: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 9803E16A417 for ; Tue, 8 Jan 2008 13:06:30 +0000 (UTC) (envelope-from usleepless@gmail.com) Received: from rv-out-0910.google.com (rv-out-0910.google.com [209.85.198.187]) by mx1.freebsd.org (Postfix) with ESMTP id 6828C13C43E for ; Tue, 8 Jan 2008 13:06:29 +0000 (UTC) (envelope-from usleepless@gmail.com) Received: by rv-out-0910.google.com with SMTP id l15so8125271rvb.43 for ; Tue, 08 Jan 2008 05:06:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=rtnKqGSv+3F8FQoenVgSl3OjyfBQDtrXs7EVi/ORfww=; b=bY6QDCfBH84SukIXY7hHe0uLOUS5BVM88LNInCG+zEta2q46uUVICAEdQ9IbYhU/IfXhaPSuhDFWpj6Q8nNfrN2dg7Tr1rdh0C5w2PbjRV4DjG/xPwG0Pdij3xVZi4NZIlUt00P1n5bxdqn6U8btKIGauRq/RZ2W+QDmjsRaDFE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=hV2cp2QHiNcoRj9GUA+yqK4SZQnREhvjBxZ0cxh6i5Og97tzA7UtSQb8o4FSzWU4WHoecC/beFuRjSk2dBBva3Iwi4GYWXShslvLnTbGsGTNddvKsUmZFhhXUeHR9nL5O6a5+2B+HvRphIVQOdSeWvkMNaSmNwBnZ6/XJm9tKjA= Received: by 10.143.187.2 with SMTP id o2mr164034wfp.162.1199797588736; Tue, 08 Jan 2008 05:06:28 -0800 (PST) Received: by 10.142.178.14 with HTTP; Tue, 8 Jan 2008 05:06:28 -0800 (PST) Message-ID: Date: Tue, 8 Jan 2008 14:06:28 +0100 From: usleepless@gmail.com To: "Andy Elvey" In-Reply-To: <478338F3.4080202@paradise.net.nz> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <478338F3.4080202@paradise.net.nz> Cc: freebsd-questions@freebsd.org 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 13:06:30 -0000 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