PDA

View Full Version : Write Permissions On NTFS Partition



Chris.K._70
09-28-2006, 02:09 AM
hey, i have a windows partition that is in NTFS. it has a problem and needs a certain file. when i'm on linux and try to copy the file to the location on the NTFS partition it says i don't have permission to do so. i'm the root user on linux.

this is my contents of /etc/fstab:

# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/hda7 / ext3 defaults,errors=remount-ro 0 1
/dev/hda1 /media/hda1 ntfs auto,gid=1004,umask=0002 0 0
/dev/hda5 /media/hda5 ntfs-fuse auto,gid=1002,umask=0002 0 0
/dev/hda6 none swap sw 0 0
/dev/hdc /media/cdrom0 udf,iso9660 user,noauto 0 0


any help would be greatly appreciated, Chris

Just Doug1
09-28-2006, 05:27 AM
You can't add a file to an NTFS partition in Linux, you can only overwrite exisitng files.

http://bisqwit.iki.fi/story/howto/ntfs/

As I understand the article, you can't even overwrite a file if the newer version is larger then the older one and the NTFS driver must be compiled with write support.

edit

While looking into this a bit more, I found this:

http://www.linux-ntfs.org/

It might be some help.

Chris.K._70
09-29-2006, 12:54 AM
is there a step by step guide to show me how to cause i'm a complete n00b with linux

ssadams
09-29-2006, 08:50 AM
/dev/hda1 /media/hda1 ntfs auto,gid=1004,umask=0002 0 0
/dev/hda5 /media/hda5 ntfs-fuse auto,gid=1002,umask=0002 0 0


if /dev/hda5 is a partiton for data then you can change that line to
/dev/hda5 /media/hda5 ntfs rw

i would never write to a system partition. i have in the past used a fat32 partition to transfer files to and from linux and on ocasion a seperate ntfs partition only used for that purpose. This was when i used NT and 2000, never bothered with xp, just use a seperate fat32 now