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