NTFSUSERMAP(8)
โจ NAME โจ
Okay bestie, this is the NTFSUSERMAP(8) page, and it's all about ntfsusermap ๐. It's the NTFS building a user mapping file tool. Basically, it's how Windows accounts get matched up with Linux logins ๐ซถ.
๐ SYNOPSIS ๐
ntfsusermap windows-system-device [other-ntfs-device...]
windows-system-device is the device holding the Windows system whose users you want to map over to your current Linux system ๐ป.
other-ntfs-device is any other device with files that both that Windows install and your current Linux system need to access ๐.
Some ground rules, no cap ๐จ: you have to run ntfsusermap as root ๐, and the devices you pass in must not be mounted ๐
โโ๏ธ.
Type ntfsusermap with no args and it'll show you a quick summary of the command arguments ๐ง.
๐ฆ DESCRIPTION ๐ฆ
ntfsusermap creates the file that maps Windows accounts to Linux logins, for the users who own files that should be visible from both Windows and Linux ๐ธ.
It's lowkey detective work ๐ต๏ธโโ๏ธ. It digs through existing files that were made on Windows, tries to find the important ones, and then asks which Linux user or group should own them. When it asks for a Linux owner or group, your reply can be:
- the uid or gid (numeric or symbolic) of the Linux owner or group of the file.
- Once you say that, it won't pick any more files with that same Windows owner. Slay, one and done โจ.
- or no answer, if you can't work out the owner or group ๐คทโโ๏ธ.
- Then another file owned by that same Windows user or group might get picked later, so a mapping can still happen ๐.
Standard Windows users like "Administrator" or "All Users" get their mappings defined implicitly, so you never have to do those yourself ๐ . Also, a user mapping should never be defined as Linux root. Do not do this, it's a whole vibe disaster ๐.
When there are no more important files left, ntfsusermap writes the mapping file into UserMapping in the current directory ๐. Next, that file has to be moved into the hidden .NTFS-3G directory at the root of every NTFS file system you want to share between Windows and Linux ๐๏ธ. Moving it needs the file system to be mounted. Heads up though: the new file won't be used if it isn't there at mount time ๐ญ. So the file system has to be unmounted and then mounted again for the new mapping to take effect ๐.
๐ OPTIONS ๐
No option is defined for ntfsusermap. Just the arguments, bestie ๐ซ .
๐ EXAMPLES ๐
Want to map the users from the Windows system on /dev/sda1? Easy peasy ๐:
ntfsusermap /dev/sda1
๐ EXIT CODES ๐
ntfsusermap exits with 0 when no error is detected โ
. If it does detect an error, it exits with 1 โ.
โ ๏ธ KNOWN ISSUES โ ๏ธ
For common questions and known issues, check out the FAQ at:
https://github.com/tuxera/ntfs-3g/wiki/NTFS-3G-FAQ/
If you find a brand new issue in the latest release, please email the development team with a detailed description ๐ง. Their address is ntfs-3g-devel@lists.sf.net ๐.
๐ฉโ๐ป AUTHORS ๐ฉโ๐ป
ntfs-3g.secaudit has been developed by Jean-Pierre Andrรฉ ๐ซก.
๐ THANKS ๐
Several people put in heroic effort, often over five or more years, to make the ntfs-3g driver happen ๐ญ๐ซถ. The biggest shout-outs go to Anton Altaparmakov, Richard Russon, Szabolcs Szakacsits, Yura Pakhuchiy, Yuval Fledel, and Miklos Szeredi, the author of the groundbreaking FUSE filesystem development framework ๐.
๐ง SEE ALSO ๐ง
ntfsprogs(8), attr(5), getfattr(1) ๐ซ
Bestie, that's the whole tea ๐ซ๐. This page was ntfsusermap 1.2.0, dated February 2016, from the NTFSUSERMAP(8) crew ๐ธโจ.
๐ฆ where this page comes from
- arch rolling: ntfsprogs 2026.9.28-1 ยท GPL-2.0-or-later
- debian bookworm: ntfs-3g 1:2022.10.3-1+deb12u3 ยท GPL-2.0-or-later
- debian trixie: ntfs-3g 1:2022.10.3-5+deb13u2 ยท GPL-2.0-or-later
- debian trixie: ntfs-3g 1:2022.10.3-5+deb13u3 ยท GPL-2.0-or-later
- epel 10: ntfsprogs 2:2026.2.25-2.el10_3 ยท GPL-2.0-or-later
- epel 9: ntfsprogs 2:2022.10.3-13.el9 ยท GPL-2.0-or-later
- fedora 43: ntfsprogs 2:2022.10.3-10.fc43 ยท GPL-2.0-or-later
- fedora 43: ntfsprogs 2:2026.2.25-2.fc43 ยท GPL-2.0-or-later
- fedora 44: ntfsprogs 2:2022.10.3-12.fc44 ยท GPL-2.0-or-later
- fedora 44: ntfsprogs 2:2026.2.25-1.fc44 ยท GPL-2.0-or-later
- nixos 26.05: ntfs3g 2026.9.18
- nixpkgs unstable: ntfs3g 2026.9.28
- opensuse-leap 16.0: ntfs-3g 2022.10.3-160000.5.1 ยท GPL-2.0-or-later
- opensuse-leap 16.0: ntfs-3g 2022.10.3-160000.5.1 ยท GPL-2.0-or-later
- opensuse-leap 16.0: ntfs-3g 2022.10.3-160000.5.1 ยท GPL-2.0-or-later
- opensuse-leap 16.0: ntfs-3g 2022.10.3-160000.5.1 ยท GPL-2.0-or-later
- ubuntu jammy: ntfs-3g 1:2021.8.22-3ubuntu1 ยท GPL-2.0-or-later
- ubuntu jammy: ntfs-3g 1:2021.8.22-3ubuntu1.4 ยท GPL-2.0-or-later
- ubuntu noble: ntfs-3g 1:2022.10.3-1.2ubuntu3 ยท GPL-2.0-or-later
- ubuntu noble: ntfs-3g 1:2022.10.3-1.2ubuntu3.2 ยท GPL-2.0-or-later
- ubuntu questing: ntfs-3g 1:2022.10.3-5
- ubuntu questing: ntfs-3g 1:2022.10.3-5ubuntu0.25.10.1 ยท GPL-2.0-or-later
- ubuntu resolute: ntfs-3g 1:2022.10.3-5build1 ยท GPL-2.0-or-later
- ubuntu resolute: ntfs-3g 1:2022.10.3-5ubuntu1.1 ยท GPL-2.0-or-later
- ubuntu stonking: ntfs-3g 1:2026.7.7-2 ยท GPL-2.0-or-later
- Copyright (c) 2007-2016 Jean-Pierre Andrรฉ
- ๐ girlified by anthropic/claude-haiku-5.5 on : a language model's rewrite of the original, under its terms