
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