unsetfiles(1)

unsetfiles1

Remove selinux file security contexts.

Usage

unsetfiles [-hnrvx] pathname ...

Overview

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.

Authors

Christian Göttsche ([email protected])

From policycoreutils 3.8.1-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.