so, what is your /etc/fstab entry for ntfs partition?

Mark Haney mhaney at ercbroadband.org
Wed Dec 3 14:28:15 UTC 2008


H.S. wrote:
> Hello,
> 
> I recently noticed that on a dual boot machine running Windows XP and
> Ubuntu 8.04 if the Window's Desktop folder is opened in nautilus and
> foo.txt or foo.htm file is double clicked on, nautilus thinks it is an
> executable (aparently the x bits are set for the files) and wants to run
> it. It should, however, open the .txt files in a text editor and .htm
> files in a web browser.
> 
> I have since changed the /etc/fstab entry for the windows partition to this:
> UUID=<uid here> /media/WindowsXP-data ntfs
> defaults,rw,noexec,nosuid,umask=007,gid=46 0       1
> 
> Actually, I just inserted "rw,noexec,nosuid", specially making the
> Winodws partition non-executable, in the earlier entry and now nautilus
> works alright.
> 
> I am wondering, what do  others use in their /etc/fstab entry to mount
> an NTFS partition to share its data in Ubuntu.
> 
> Regards.
> 

Personally, I don't automount any NTFS partitions.  If I need to, I have 
a csripte that will mount it quickly.  But that's really very rare.  I 
know ntfs3g is much better with NTFS support, but M$ are a canny group 
and might change the NTFS schema at any time. (And frequently do with 
Service Packs) So I never mount NTFS RW for anything and only RO for the 
rare times I need it.


-- 
Frustra laborant quotquot se calculationibus fatigant pro inventione 
quadraturae circuli

Mark Haney
Sr. Systems Administrator
ERC Broadband
(828) 350-2415

Call (866) ERC-7110 for after hours support




More information about the ubuntu-users mailing list