Scroll to navigation

UNSETFILES(1) General Commands Manual UNSETFILES(1)

NAME

unsetfiles - Remove SELinux file security contexts.

SYNOPSIS

unsetfiles [-hnrvx] pathname ...

DESCRIPTION

This program removes the SELinux file security contexts of files. It can help cleaning extended file attributes after disabling SELinux.

unsetfiles will only work on SELinux disabled systems, since removing file security contexts is not supported by SELinux.

OPTIONS

Show usage information and exit.
Do not actually remove any SELinux file security contexts.
Remove SELinux file security contexts recursive.
Be verbose about performed actions.
Do not cross filesystem boundaries.

ARGUMENTS

One or more path names to operate on.

SEE ALSO

restorecon(8), setfiles(8)

AUTHORS

Christian Göttsche (cgzones@googlemail.com)
December 2023 Security Enhanced Linux