1NTFS-3G.USERMAP(8) System Manager's Manual NTFS-3G.USERMAP(8)
2
3
4
6 ntfs-3g.usermap - NTFS Building a User Mapping File
7
9 ntfs-3g.usermap windows-system-device [other-ntfs-device...]
10
11 Where windows-system-device is the device containing the Windows system
12 whose users are to be mapped to current Linux system.
13
14 And other-ntfs-device is another device containing files which are to
15 be accessed both by the Windows mentioned above and current Linux sys‐
16 tem.
17
18 the ntfs-3g.usermap command must be started as root, and the designated
19 devices must not be mounted.
20
21 Typing ntfs-3g.usermap with no args will display a summary of command
22 arguments.
23
25 ntfs-3g.usermap creates the file defining the mapping of Windows
26 accounts to Linux logins for users who owns files which should be visi‐
27 ble from both Windows and Linux.
28
29 It relies on existing files which were created on Windows, trying to
30 locate significant files and asking which Linux user or group should
31 own them. When a Linux owner or group is requested, the reply may be :
32
33 - the uid or gid (numeric or symbolic) of Linux owner or group of the
34 file.
35 In that situation, no more file with the same Windows owner will
36 be selected.
37 - or no answer, when not able to define the owner or group.
38 In that situation another file owned by the same Windows user or
39 group may be selected later so that a mapping can be defined.
40
41 The mappings for standard Windows users, such as "Administrator" or
42 "All Users" are defined implicitly. As a consequence a user mapping
43 should never be defined as Linux root.
44
45 When there are no more significant files, ntfs-3g.usermap create the
46 mapping file into the file UserMapping in the current directory. This
47 file has to be moved to the hidden directory .NTFS-3G in the root of
48 all the NTFS file systems to be shared between Windows and Linux. This
49 requires the file system to be mounted, but the created file will not
50 be taken into account if not present at mount time, which means the
51 file system has to be unmounted and mounted again for the new mapping
52 file to be taken into account.
53
55 No option is defined for ntfs-3g.usermap.
56
58 Map the users defined on the Windows system present on /dev/sda1 :
59
60 ntfs-3g.usermap /dev/sda1
61
62
63 A detailed example, with screen displays is available on http://pages‐
64 perso-orange.fr/b.andre/usermap.html
65
67 ntfs-3g.usermap exits with a value of 0 when no error was detected, and
68 with a value of 1 when an error was detected.
69
71 Please see
72
73 http://www.tuxera.com/community/ntfs-3g-faq/
74
75 for common questions and known issues. If you would find a new one in
76 the latest release of the software then please send an email describing
77 it in detail. You can contact the development team on the
78 ntfs-3g-devel@lists.sf.net address.
79
81 ntfs-3g.secaudit has been developed by Jean-Pierre André.
82
84 Several people made heroic efforts, often over five or more years which
85 resulted the ntfs-3g driver. Most importantly they are Anton Alta‐
86 parmakov, Richard Russon, Szabolcs Szakacsits, Yura Pakhuchiy, Yuval
87 Fledel, and the author of the groundbreaking FUSE filesystem develop‐
88 ment framework, Miklos Szeredi.
89
91 ntfsprogs(8), attr(5), getfattr(1)
92
93
94
95ntfs-3g.usermap 1.1.2 February 2010 NTFS-3G.USERMAP(8)