LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 06-10-2013, 04:11 PM   #1
Himilhil
Member
 
Registered: Jun 2009
Posts: 52

Rep: Reputation: 15
How to set manually an owner on NTFS?


Is there a way to set manually an owner for a file located on NTFS file system mounted with ntfs-3g? Something like this:

Code:
$ ntfs-3g.setowner --sid=S-1-5-21-3452292639-2475245894-2622236828-1002 myfile.txt
Mapping of Linux users to NTFS SIDs isn't configured. In my case it would be difficult to make such mapping. So Linux's chown isn't usefull in this case.
 
Old 06-10-2013, 10:00 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 20,294

Rep: Reputation: 3213Reputation: 3213Reputation: 3213Reputation: 3213Reputation: 3213Reputation: 3213Reputation: 3213Reputation: 3213Reputation: 3213Reputation: 3213Reputation: 3213
I get the feeling this is still correct. https://www.linuxquestions.org/quest...nge-it-865988/
 
Old 06-11-2013, 07:26 AM   #3
Himilhil
Member
 
Registered: Jun 2009
Posts: 52

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by jefro View Post
I get the feeling this is still correct. https://www.linuxquestions.org/quest...nge-it-865988/
The topic of that thread isn't the same as what I'm talking about. I don't want to set one Linux user instead of another as file's owner. I'm seeking a way to change SID which defines file's owner from the point of view of NTFS filesystem. It won't affect file ownership from the point of view of Linux. In my case, what Linux user owns the file is defined by mount options, not by SID.
 
Old 06-11-2013, 03:37 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 20,294

Rep: Reputation: 3213Reputation: 3213Reputation: 3213Reputation: 3213Reputation: 3213Reputation: 3213Reputation: 3213Reputation: 3213Reputation: 3213Reputation: 3213Reputation: 3213
I assume that ntfs file based permissions are not configurable. So, what you are saying is if there is way to use linux to assign a sid based id to some linux user?
 
  


Reply

Tags
ntfs, ntfs3g, ownership


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
How to set the prozess owner? thomas2004ch Linux - Software 1 08-20-2012 04:53 AM
Set a directory so that all files created below it are owned by dir owner SmurfGGM Linux - General 2 06-09-2011 04:41 AM
fstab entry to manually mount ntfs partitions james2b Linux - Newbie 11 12-17-2008 06:09 AM
permissions and owner of ntfs mounted drive bloodyscript Linux - Newbie 4 11-10-2008 06:24 PM
How to set up a proxy manually? posat Linux - Newbie 2 04-15-2004 01:20 PM

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

All times are GMT -5. The time now is 04:15 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