How to change default permission of NTFS partition of an externel usb hard disk

From FedoraNEWS.ORG

Written by Toong Shing Chia on 2006-01-19

I saw many posting regarding changing default mount options of externel hard disk. Most response was simply edit /etc/fstab mount option.

Just by manually editing /etc/fstab alone will not work. Once the system is rebooted or the device is removed, the manually edited /etc/fstab contents will be removed, by fstab-sync. This program is invoked by HAL daemon.

Here summary procedures:-

  1. Find out the HAL specification "info.vendor" of the usb drive. (http://busybody.501megs.com//linux/hal/hal-device-manager.html)
  2. Prevent HAL daemon from mounting it. Hence fstab-sync will not be invoked. (http://busybody.501megs.com//linux/hal/storage-skip-all.fdi.html) This done by modifying /etc/hal/fdi/policy/storage-skip-all.fdi using "info.vendor".
  3. Do this if more than one external usb drive that is including memory stick. (http://busybody.501megs.com//linux/hal/PermanentDest.html)
  4. Finally edit /etc/fstab mount option as
mount -t ntfs /dev/sda1 /mnt/tmp -o umask=0222

See Changing default NTFS mounting option of an external usb drive on Fedora 4. (http://busybody.501megs.com//linux/hal/ChangeNTFSmountingOption.html) for details.

Personal tools