ntfs-3g.secaudit
NTFS security data auditing tool
TLDR
SYNOPSIS
ntfs-3g.secaudit -a[rv] volumentfs-3g.secaudit -b[v] volume [directory]ntfs-3g.secaudit -s[ev] volume [backup-file]ntfs-3g.secaudit -r[v] volume directoryntfs-3g.secaudit -u[v] volume mounted-filentfs-3g.secaudit -h filentfs-3g.secaudit volume directory
DESCRIPTION
ntfs-3g.secaudit displays the ownership and permissions of files on an NTFS file system and checks their consistency. It can audit security data, backup and restore ACLs, and propose user mappings. The volume must be unmounted and the command must be run as root.
PARAMETERS
-a
Audit all global security data on the volume. Combine with -r to also scan all files and directories.-b
Recursively extract NTFS ACLs to standard output for backup purposes.-s
Set NTFS ACLs from a backup file or standard input. Combine with -e to also restore extra parameters (Windows attrib).-e
Used with -s to set extra backed-up parameters.-r
Recurse into subdirectories. With -a, checks file relations to global security data.-u
Display a proposed user mapping file based on Windows ownership of a mounted file.-h _file_
Display hexadecimal security descriptors from a saved file in human-readable form.-v
Verbose output. Use twice for very verbose output.
CAVEATS
Requires root privileges. The volume must be unmounted before use. Output should be redirected to a file for large directory operations. Returns 0 on success and 1 when errors are detected.
HISTORY
ntfs-3g.secaudit is part of the ntfs-3g project, providing security audit and ACL management functionality for NTFS filesystems on Linux.
SEE ALSO
ntfs-3g(8), ntfs-3g.usermap(8)
