OS Manuals

/usr/bin/restorecon_xattr

SELinux policy core utilities

From policycoreutils 3.11-r3 (enterprise-packages), captured 2026-11-08 by running restorecon_xattr --help (exit 255) · terse output. permalink

SELinux must be enabled to perform this operation.
Options (8)
OptionDescriptionSource
-ddelete all non-matching security.sehash directory digest entries.man
-Ddelete all security.sehash directory digest entries.man
-mdo not read /proc/mounts to obtain a list of non-seclabel mounts to be excluded from relabeling checks.man
-nDo not append "Match" or "No Match" to displayed digests.man
-rrecursively descend directories.man
-vdisplay SHA1 digest generated by specfile set (Note that this digest is not used to match the security.sehash directory digest entries, and is shown for reference only).man
-edirectory directory to exclude (repeat option for more than one directory).man
-fspecfile an optional specfile containing file context entries as described in file_contexts(5).man
Examples (1) from the manual page, untested

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.