Cedric wrote:
I think you should take a look at supermount, or mount the partition as part
of the mount -a cycle. Add the following to /etc/fstab to do it (but modify
it for your mountpoints and fylesystem):
/dev/hda5 /d vfat ro 0 0
I believe that if you mount an NTFS filesystem that way (after having
"vfat" replaced by "ntfs", obviously) certain directories like "My
Documents" will be accessibly only to root (and not to other users).
This is what I used in my fstab when I had to mount an NTFS filesystem:
/dev/sda1 /mnt/windows ntfs ro,dmask=0222,fmask=0333 0 0
The permissions for all directories will be r-xr-xr-x and for all files
it will be r--r--r--.
See the file Documentation/filesystems/ntfs.txt in the Linux source
directory for more information.
Tim
--
http://linuxfromscratch.org/mailman/listinfo/lfs-chat
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page