View Single Post
  #1   (View Single Post)  
Old 21st October 2008
rex rex is offline
Real Name: Nikhil Rathod
Shell Scout
 
Join Date: May 2008
Location: Chicago
Posts: 114
Default Mounting USB as a normal user

http://www.freebsd.org/doc/en/books/...usb-disks.html

I followed the handbook to configure BDS to mount usb drives as a normal user. I'm able to do it just fine with root user. But some thing is wrong for normal user. user is of operator group.

Here is what I see when FreeBSD boots up.
Code:
/etc/rc: WARNING: devfs_set_ruleset: you must specify a ruleset number
/etc/rc: WARNING: devfs_apply_ruleset: you must specify a ruleset
This must be either because I added
Code:
[localrules=5]
add path 'da*' mode 0660 group operator
to /etc/devfs.rules

or

Code:
devfs_system_ruleset="localrules"
to /etc/rc.conf

Here is what I see when I try to mount USB drive
Code:
> mount -t msdosfs /dev/da4s1 /mnt/usb/
mount_msdosfs: /dev/da4s1: : Operation not permitted
Any suggestion what might be wrong over here?
Reply With Quote