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
[EMAIL PROTECTED] ~]$ sysctl vfs.usermount
vfs.usermount: 1
[EMAIL PROTECTED] ~]$ 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
[EMAIL PROTECTED] ~]$ ls -l / | grep usbdrv
drwxr-xr-x   2 jon   jon     512 Mar  7 18:25 usbdrv/
[EMAIL PROTECTED] ~]$ mount -t msdos /dev/da0s1 /usbdrv
mount_msdosfs: /dev/da0s1: Operation not permitted

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.


freebsd-questions@freebsd.org mailing list
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to