LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 02-16-2005, 04:20 AM   #1
mathfeel
Member
 
Registered: Feb 2002
Distribution: Gentoo
Posts: 95

Rep: Reputation: 15
ntfs write and permission


I want to share user file between windows and linux. Is it a good idea to use an NTFS partition for /home? I suppose this question really breaks into many part, such as how mature is write support for NTFS (as of now, compiled in my 2.6.10) and does chmod works in NTFS? My memory with a FAT32 partition is that, chmod / chown doesn't seems to do much between remounts (i.e. owner ship setting is lost after remount)

I am currently mounting with the following line:
/dev/hda9 /home_test noauto,noatime,rw,nls=utf8,umask=000 0 0

This seems to work okay as far as I know, but being a place for semi-important (personal, not system important) data, I really want to know some expert opinion.

Cheers.

Last edited by mathfeel; 02-16-2005 at 04:27 AM.
 
Old 02-16-2005, 04:29 AM   #2
marghorp
Senior Member
 
Registered: Jan 2004
Location: Slovenia
Distribution: Slackware 10.1, SLAX to the MAX :)
Posts: 1,040

Rep: Reputation: 45
I thought write support for NTFS is still in the staage where you can only overwrite files that have the same length. So I don't think a /home folder on NTFS is either smart or possible.
 
Old 02-16-2005, 04:58 AM   #3
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: SuSE, Ubuntu
Posts: 3,511

Rep: Reputation: 58
The ownership and permission rights for Linux-mounted Windows partitions are set via the umask option. That means that the chmod or chown commands are useless.

I agree with marghorp that even with full write support on ntfs (like the captive driver offers), it is not a good idea and most probably will not work correctly.

In the above example, you are talking about the FAT32 partition, right? Otherwise I would really be interested how you managed to write on NTFS. You didn't even specify the filesystem in your fstab line.
 
Old 02-16-2005, 05:05 AM   #4
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
NTFS writing is not well supported in Linux thats why most distros disable it by default. You can however create a seperate fat32 partition and then put the files you need to share on that partition. I am sure windoze will be able to detect the fat32 partition.
 
Old 02-16-2005, 05:25 AM   #5
mathfeel
Member
 
Registered: Feb 2002
Distribution: Gentoo
Posts: 95

Original Poster
Rep: Reputation: 15
Yes. Pardon my lack of knowledge about NTFS. I agree with the above comments after experimenting myself. For fat32 partition, does anything like chmod and chown work?

I am more interested in learning the current status of NTFS-write. Any good link for that? Or just perhaps someone describe it shortly in a reply? Thank yoU!
 
Old 02-16-2005, 05:43 AM   #6
astroem
LQ Newbie
 
Registered: Feb 2005
Location: Írebro, Sweden
Distribution: Debian unstable
Posts: 6

Rep: Reputation: 0
FAT32 has no support for the Unix notion of user and group permissions, so ownership and permissions are set for the whole partition at mount time. uid, gid, dmask and fmask are useful mount options.
 
Old 02-17-2005, 06:50 AM   #7
eeades
Member
 
Registered: Sep 2004
Distribution: Slackware
Posts: 117

Rep: Reputation: 15
The NTFS projects current homepage is:

http://linux-ntfs.sourceforge.net/

Eric
 
Old 02-23-2005, 09:11 AM   #8
larson9999
LQ Newbie
 
Registered: Feb 2005
Posts: 10

Rep: Reputation: 0
I wouldn't try writing to ntfs...especially if that's where your windows installation is. I make fat partitions to share between linux and windows.
 
  


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
no write permission on NTFS mount zchoyt Linux - General 1 08-25-2005 09:10 PM
Get permission to write/delete it-s Linux - Newbie 12 02-16-2005 04:30 AM
mounted but no write permission varunk123456 Red Hat 1 03-31-2004 02:54 PM
no write permission? santasballz Linux - Newbie 1 02-12-2004 11:26 PM
No Write Permission... cabrone Linux - Newbie 4 09-15-2003 02:44 PM


All times are GMT -5. The time now is 07:00 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration