FAQ SearchLogin
Tuxera Home
View unanswered posts | View active topics It is currently Thu May 13, 2021 19:56



Post new topic Reply to topic  [ 3 posts ] 
UserMapping and permissions 
Author Message

Joined: Sun Apr 25, 2010 14:40
Posts: 2
Post UserMapping and permissions
Dear all,

I am having trouble getting ntfs-3g to use a UserMapping file. I've created the file using the usermap utility and placed in the top level of the ntfs drive. Here is a sample of the UserMapping file:

Code:
tim@GGEOM:/mnt/NTFS_Files/.NTFS-3G$ ls
UserMapping  UserMapping~
tim@GGEOM:/mnt/NTFS_Files/.NTFS-3G$ cat UserMapping
# Generated by usermap for Windows, v 1.1.2
# For Windows account "Tim Hattrell" in domain "MOTHERSHIP"
# Replace "user" and "group" hereafter by matching Linux login
1000::S-1-5-21-746137067-813497703-1708537768-1003
:1000:S-1-5-21-746137067-813497703-1708537768-513


The ntfs drive is mounted using:

Code:
UUID=57B736B4506A93C4 /mnt/NTFS_Files ntfs-3g defaults,locale=en_GB.utf8 0 2


When I create files they are all owned by root, not tim:

Code:
tim@GGEOM:/mnt/NTFS_Files/windows_files/Tim Hattrell$ ls -l
total 1
-rwxrwxrwx 1 root root 0 2010-04-23 22:41 created_in_linux2.txt
-rwxrwxrwx 1 root root 0 2010-04-25 11:24 created_in_linux3.txt
-rwxrwxrwx 1 root root 0 2010-04-25 12:17 created_in_linux4.txt
-rwxrwxrwx 1 root root 0 2010-04-23 22:36 created_in_linux.txt


Is there a way to tell if the UserMapping file is actually being read? Why the hell can't I get such a simple thing to work?

Thanks in advance. Tim


Sun Apr 25, 2010 14:52
Profile

Joined: Sun Apr 25, 2010 14:40
Posts: 2
Post Re: UserMapping and permissions
OK, think I can answer my own question... The package I have installed is 1:2009.4.4. Reading the release history I don't think the usermapping facility is available in this version. If this is the case, I'll wait until a new package is released (Ubuntu 10.04 is available on the 29th with ntfs-3g 1:2010.3.6).

Cheers, Tim


Tue Apr 27, 2010 21:23
Profile
Tuxera CTO

Joined: Tue Nov 21, 2006 23:15
Posts: 1648
Post Re: UserMapping and permissions
Hi.

Correct. 2009.4.4 didn't support yet user mapping.

Regards, Szaka


Tue Apr 27, 2010 21:31
Profile
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Original forum style by Vjacheslav Trushkin.