PDA

View Full Version : can't write in mounted NTFS



easyornot
21st March 2005, 07:47 PM
followed the instructions on the linux-ntfs.sourceforge.net.
mount /dev/hda5 /mnt/wind -t ntfs -rw -o umask=000
But I cannot edit, neither cp to a new file, nor creat file.
[root@Desk Shared]# ls -l /mnt/wind/Shared

drwxrwxrwx 1 root root 69632 Mar 19 00:56 Fonts
-rwxrwxrwx 1 root root 1163 Mar 19 00:57 input.txt

[root@Desk Shared]# cp input.txt input
cp: cannot create regular file `input': Permission denied

WHY?

jcstille
21st March 2005, 10:29 PM
There is no safe way to create files on an NTFS partition in Linux. The latest kernel recently got stable support for writing to existing files, but that's as far as it goes.

Your best bet is to switch to FAT32, which both Linux and Windows can read from and write to natively.

Your best bet for writing to your Linux partition from Windows is to use something like vmware so that you can run both OSes at once and have your Linux filesystem mounted as a networked directory.

Also for copying do you just wanna copy on the ntfs, or to your ext partition. If it is the later then try cp input.txt /home/user/input

Copy is just a special writing capability.