LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   writing to a ntfs windows partition (https://www.linuxquestions.org/questions/linux-newbie-8/writing-to-a-ntfs-windows-partition-406600/)

roseplant 01-22-2006 01:37 PM

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

acid_kewpie 01-22-2006 01:38 PM

there are HGUE risks. you WILL lose data sooner or alter. do NOT do it. use a fat32 partition instead.

boonebytes 01-22-2006 08:16 PM

Hey,

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..


All times are GMT -5. The time now is 10:28 AM.