unsetfiles - Man Page

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

-h

Show usage information and exit.

-n

Do not actually remove any SELinux file security contexts.

-r

Remove SELinux file security contexts recursive.

-v

Be verbose about performed actions.

-x

Do not cross filesystem boundaries.

Arguments

pathname ...

One or more path names to operate on.

See Also

restorecon(8), setfiles(8)

Authors

Christian Göttsche (cgzones@googlemail.com)

Info

December 2023 Security Enhanced Linux