LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-15-2011, 03:07 PM   #1
Xl1NntniNH7F
Member
 
Registered: Jul 2011
Distribution: ubuntu 10.10
Posts: 42

Rep: Reputation: Disabled
Where does linux store ntfs permissions?


From what I understand, linux applies mount options to ntfs. Then if I want to change a file's permissions, I suppose it stores them somewhere on system disk or memory? If a lot files need to have permissions changed in different ways, can this use a lot of space? By the way, in general when I write to ntfs, can I expect any kind of problems when windows accesses the same disk?
 
Old 07-15-2011, 03:48 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,993

Rep: Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628
Linux doesn't store any settings or file permissions as such. NTFS file system has those as part of the filesystem. The driver that allows linux to read and write to that drive simply interprets them for the user/os.

Yes, one could mess up a system to the point of being unusable to the Windows OS. You have to be somewhat careful when writing to a ntfs drive. This is also true for a bartsPE disk or a ntfsdos disk access.

Your best bet is to make a folder in windows and set permissions. Then access that folder alone. Move the files or adjust permissions from within windows. Windows is always modifying it's ntfs filesystem and linux can't keep up with changes in some cases. NTFS-3G support is still considered a user beware, you have been warned deal.

Last edited by jefro; 07-15-2011 at 03:51 PM.
 
1 members found this post helpful.
Old 07-15-2011, 05:41 PM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,627

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
the best practice for a NTFS shared disk is to set fstab to let "ro" for everyone but "rw" for root only

ie. become root to actually write to a ntfs drive


That though is not always practical if there are many users .

in those cases as jefro posted set one folder for every one to use

from MS windows it would look something like this
D:\\share\user1
D:\\share\user2
D:\\share\user3
and mount "share" as the for everyone folder
 
1 members found this post helpful.
  


Reply



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
NTFS Permissions. YellowSnowIsBad Linux - Newbie 2 11-05-2010 03:10 PM
Using Windows/NTFS to Store All Linux Data on Dual Boot System rm_-rf_windows Linux - General 11 09-22-2007 11:54 PM
NTFS Permissions xrugger70 SUSE / openSUSE 1 07-06-2006 11:43 PM
NTFS Permissions DirtyDan Linux - Networking 11 09-11-2005 09:03 PM
n00b question: Problems with linux root permissions and ntfs partition wLancer Linux - General 4 12-06-2004 04:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:39 PM.

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
Open Source Consulting | Domain Registration