Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-22-2006, 01:37 PM   #1
LQ Newbie
Registered: Jan 2006
Posts: 16

Rep: Reputation: 0
writing to a ntfs windows partition

how can i make my windows c drive (/dev/sda1) writable by everyone? are there any risks with this?

here is my /etc/fstab:

/dev/sda2 / ext3 acl,user_xattr 1 1
/dev/sda5 swap swap defaults 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs noauto 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
/dev/cdrom /media/cdrom subfs noauto,fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0
/dev/sda1 /media/windows ntfs nls=utf8,umask=0222 0 0
Old 01-22-2006, 01:38 PM   #2
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977
there are HGUE risks. you WILL lose data sooner or alter. do NOT do it. use a fat32 partition instead.
Old 01-22-2006, 08:16 PM   #3
LQ Newbie
Registered: Jan 2006
Distribution: Fedora Core 5
Posts: 7

Rep: Reputation: 0

I second that. I've heard lots about how you cannot write to NTFS.

However, to give you the option, I'll hint that I seen it when I was recompiling my kernel. I only picked the NTFS read option, though (not write, I won't trust it).

If you'd like to mount your partition as read only, try changing your fstab file to this:

/dev/sda1 /media/windows ntfs ro,users,auto,umask=000 0 0

This worked for me... not sure about any "chmod"ing needed on the mount point, but this should point you in the right direction for read-only.

Again, I'll stress: Read/Write on NTFS is NOT a good idea! In fact, the current kernel module only supports writing to the partition under VERY SPECIFIC circumstances (like if you don't change the file size, I think...). Best option: Don't use NTFS read/write. Instead:

-Use FTP or SMB and upload your files to another server
-Write to a FAT32 partition
-Use a Windows tool to read your linux partitions (like extfs, I think is the name on one, not sure).

Hope that helps, and someone please correct me if I'm wrong... I'm still somewhat new to Linux myself..


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
best howto for writing to ntfs (windows) drive BeckinNC SUSE / openSUSE 6 12-09-2005 06:53 AM
Writing to NTFS partition Xios Linux - General 8 02-06-2005 10:25 PM
writing ntfs partition Niflheim Linux - Newbie 6 01-25-2005 01:01 PM
Writing to an NTFS partition Inexactitude Linux - Newbie 3 10-12-2003 10:39 PM
writing to a windows partition okok Linux - General 3 02-20-2002 03:44 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:46 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration