LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   More Madness - My WIndows Physical Drives have Vanished (https://www.linuxquestions.org/questions/linux-hardware-18/more-madness-my-windows-physical-drives-have-vanished-323437/)

mcgrew 05-18-2005 12:45 AM

Try changing your fstab entries to this:

Code:

/dev/hda2            /mnt/windows        ntfs      ro,umask=222          0 0
/dev/hda5            /mnt/D                    ntfs      ro,umask=222          0 0

umask mounts them with the opposite of values used by the chmod command

777 - <chmod permissions> = <umask permissions>

You don't really need to understand that, but that should work and allow you to read and execute from the ntfs partitions, but not write. It is not a good idea to write to ntfs from within linux, even though the root account may still allow to do this (the ro option may prevent this, however). It normally damages the filesystem. Newer kernels claim to have limited safe writing to ntfs (you can't change the file size), but I wouldn't recommend it.

That's probably more than you needed to know, but there you go.


All times are GMT -5. The time now is 08:03 AM.