mount permission

I would like to be able to
Code:
mount_msdosfs /dev/da2s1  ~/sansa
as a user. I can do so as su. I am a member of both the wheel and operator groups and have edited PolicyKit.conf several times based on threads I've read on this forum. Its back to its oringinal text now. I have tried granting myself permission to mount removable drives with the PolicyKit Authorization tool in System Settings. I have installed Automounter and I believe that my Sansa device is labeled, though I am not sure how to edit the Automount.conf file. I am using KDE4.3 on an installation of FreeBSD 8RC3. Can someone tell me how to accomplish this? Either manual or automount would be appreciated. BTW I can't mount CD's or any other removable device in an active session.
 
add
/etc/devfs.conf
Code:
own     acd0    root:users
perm    acd0    0660

/etc/devfs.rules
Code:
[localrules=10]
add path 'da*' mode 0660 group users

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

/etc/sysctl.conf
Code:
vfs.usermount=1

now you should be able to mount after reboot without su/sudo

replace users with valid group name
 
Thank you so much, killasmurf86. I am now able to mount removable devices and found that after formatting my Sansa E140 as FAT instead of FAT32, it is now automounted when I plug it in.
 
Thanks once again killasmurf86. I can mount CD's with the cd9660 command.The udf command isn't supported by the device.
 
Back
Top