How can I get my USB external hard drive to mount as non root? I am using diskdrake to mount it (me being the owner) and this drive has a NTFS file system. The only way I can view the contents of this hard drive is to log on as root, which is a big inconvience.
This drive's folder in /mnt also has a padlock on it and I get a "permission denied" message when I try to access it.
I can, however, access this external USB hard drive as non root by putting "unmask=0022" in the corresponding line in fstab, but when I reboot, HAL and fstab-sync will auto generate a new line in its place, putting me back where I first started. (More about how this feature works can be found by typing "man fstab-sync" in a terminal window). Unmask=0022 allows ordinary users to view the contents of this drive.
I have another USB external hard drive with a fat32 file system and it mounts as non root with no problem.
I have tried using the chmod command, the chown command, and I have tried creating a custom rule using msec (making me the owner) for this hard drive's folder in the mnt directory but none of this worked.
It is my understanding that I can write a custom fdi rule in the /usr/share/hal/fdi/95userpolicy folder to correct this problem but I don't know how to do that.
Can anybody here please help me mount this USB external hard drive (ntfs) as non root? I am using Mandriva 2006.
Any help would be most appreciated.
Roy S. Smith