From owner-freebsd-questions@FreeBSD.ORG Sat Mar 10 04:42:56 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8E81B16A402 for ; Sat, 10 Mar 2007 04:42:56 +0000 (UTC) (envelope-from jon-bsd@comcast.net) Received: from alnrmhc13.comcast.net (alnrmhc13.comcast.net [206.18.177.53]) by mx1.freebsd.org (Postfix) with ESMTP id 6C68013C47E for ; Sat, 10 Mar 2007 04:42:56 +0000 (UTC) (envelope-from jon-bsd@comcast.net) Received: from [24.3.82.205] (c-24-3-82-205.hsd1.pa.comcast.net[24.3.82.205]) by comcast.net (alnrmhc13) with ESMTP id <20070310043204b1300rqt8re>; Sat, 10 Mar 2007 04:32:04 +0000 Message-ID: <45F234B8.7050006@comcast.net> Date: Fri, 09 Mar 2007 23:31:52 -0500 From: Jon Wolfgang User-Agent: Thunderbird 1.5.0.10 (X11/20070306) MIME-Version: 1.0 To: freebsd-questions Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: mounting usb flash drive 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: Sat, 10 Mar 2007 04:42:56 -0000 I am trying to mount a usb flash drive as a user under FreeBSD 6.2-RELEASE. I have followed the steps in the handbook, but it is not quite working. My user account is jon and is a member of the operator group. I have set the vfs.usermount variable to 1. I am trying to mount the drive at /usbdrv. Here is a terminal output. Script started on Fri Mar 9 23:26:53 2007 [jon@charon ~]$ sysctl vfs.usermount vfs.usermount: 1 [jon@charon ~]$ ls -l /dev | grep da0 crw-r----- 1 root operator 0, 163 Mar 9 22:38 da0 crw-rw---- 1 root operator 0, 164 Mar 9 22:38 da0s1 [jon@charon ~]$ ls -l / | grep usbdrv drwxr-xr-x 2 jon jon 512 Mar 7 18:25 usbdrv/ [jon@charon ~]$ mount -t msdos /dev/da0s1 /usbdrv mount_msdosfs: /dev/da0s1: Operation not permitted [jon@charon ~]$ exit Script done on Fri Mar 9 23:27:37 2007 However, if I su to root, and mount and unmount the drive, then the user is able to mount it. This is kind of annoying though. Did I miss a step somewhere? Any suggestions are appreciated. Thanks, Jon