LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 01-22-2006, 02:37 PM   #1
roseplant
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, 02:38 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

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

Rep: Reputation: 0
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..
 
  


Reply


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 07:53 AM
Writing to NTFS partition Xios Linux - General 8 02-06-2005 11:25 PM
writing ntfs partition Niflheim Linux - Newbie 6 01-25-2005 02:01 PM
Writing to an NTFS partition Inexactitude Linux - Newbie 3 10-12-2003 11:39 PM
writing to a windows partition okok Linux - General 3 02-20-2002 04:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:13 AM.

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