Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 17th February 2007, 00:40
Toaste Toaste is offline
Junior Member
 
Join Date: Feb 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
 
Question Permissions with ntfs3g usb disk on ubuntu

I set up ntfs3g and pmount to automount external usb drives with ntfs3g according to this howto. But I would like to change the default permissions mask.

I tried editing /etc/hal/fdi/policy/15-ntfs-policy.fdi by adding a umask option under the match for ntfs-3g (against a comment's better advice):

Code:
<!-- if ntfs-3g, we need some special option (don't touch this policy if you change
the default policy to ntfs above. In any way, **don't touch this policy**)-->

	<device>

  	<match key="volume.fstype" string="ntfs-3g">
    	<append key="volume.mount.valid_options" type="strlist">nonempty</append>
    	<merge key="storage.policy.mount_option.nonempty" type="bool">true</merge>
    	<merge key="volume.policy.mount_option.nonempty" type="bool">true</merge>
<!-- 
     Here's the added line:
--> 
        <merge key="volume.policy.mount_option.umask" type="string">0770</merge>

   	</match>

	</device>
But after making this change, neither ejecting and re-plugging the device nor a reboot had any effect. If Gnome-Volume-Manager ignores permissions set in the hal, is there another way to override them without losing the convenience of having the drive mount automagically?
Reply With Quote
Sponsored Links
Reply

Bookmarks

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
External USB DVD Drive Setup on Ubuntu... sthompson Installation/Configuration 0 5th January 2007 04:19
About installing ddclient satimis Server Operation 32 21st December 2006 03:51
Log for Debugging jwan Installation/Configuration 5 27th October 2006 14:34
Formatting usb flash disk sleen Technical 1 26th June 2006 11:16
Raid level 1 on ubuntu ( Disk Mirroring for Redundancy ) coza Suggest HOWTO 1 7th February 2006 12:07


All times are GMT +2. The time now is 04:08.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.