edf1 [Solved] mount permission - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Base System > Peripheral Hardware

Peripheral Hardware Stuff that plugs in via USB, FireWire, eSATA, PS/2, etc.

Reply
 
Thread Tools Display Modes
  #1  
Old November 14th, 2009, 19:44
topher's Avatar
topher topher is offline
Junior Member
 
Join Date: Aug 2009
Posts: 61
Thanks: 14
Thanked 2 Times in 2 Posts
Default 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.
Reply With Quote
  #2  
Old November 14th, 2009, 20:06
graudeejs's Avatar
graudeejs graudeejs is offline
Style(9) Addict
 
Join Date: Nov 2008
Location: Riga, Latvia
Posts: 4,522
Thanks: 422
Thanked 607 Times in 475 Posts
Default

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
Reply With Quote
The Following User Says Thank You to graudeejs For This Useful Post:
gall0ws (May 30th, 2010)
  #3  
Old November 14th, 2009, 21:03
topher's Avatar
topher topher is offline
Junior Member
 
Join Date: Aug 2009
Posts: 61
Thanks: 14
Thanked 2 Times in 2 Posts
Default

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.
Reply With Quote
  #4  
Old November 17th, 2009, 15:31
topher's Avatar
topher topher is offline
Junior Member
 
Join Date: Aug 2009
Posts: 61
Thanks: 14
Thanked 2 Times in 2 Posts
Default I still can't mount CD's.

Code:
mount_cd9660: /dev/acd0: Operation not permitted
Reply With Quote
  #5  
Old November 17th, 2009, 15:38
graudeejs's Avatar
graudeejs graudeejs is offline
Style(9) Addict
 
Join Date: Nov 2008
Location: Riga, Latvia
Posts: 4,522
Thanks: 422
Thanked 607 Times in 475 Posts
Default

Code:
mkdir ~/mnt
mount -t cd9660 /dev/acd0 ~/mnt
or you can try
Code:
mount -t udf /dev/acd0 ~/mnt
for some dvds
Reply With Quote
  #6  
Old November 18th, 2009, 01:17
topher's Avatar
topher topher is offline
Junior Member
 
Join Date: Aug 2009
Posts: 61
Thanks: 14
Thanked 2 Times in 2 Posts
Default

Thanks once again killasmurf86. I can mount CD's with the cd9660 command.The udf command isn't supported by the device.
Reply With Quote
  #7  
Old November 18th, 2009, 01:19
graudeejs's Avatar
graudeejs graudeejs is offline
Style(9) Addict
 
Join Date: Nov 2008
Location: Riga, Latvia
Posts: 4,522
Thanks: 422
Thanked 607 Times in 475 Posts
Default

some dvds use udf format....
so you can try using udf on dvd's after you fail to mount dvd with cd9660 format
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ClamAV permission problem anthony911 Installing & Upgrading 9 August 11th, 2009 22:41
[Solved] ClamAV permission. best Web & Network Services 9 August 4th, 2009 08:39
FreeBsd/Windows permission drothman66 Web & Network Services 1 July 28th, 2009 03:12
Permission Denied vjw757 Installation and Maintenance of FreeBSD Ports or Packages 5 July 5th, 2009 00:32
Root user- no permission? hrsetrdr General 9 January 20th, 2009 15:22


All times are GMT +1. The time now is 17:20.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0