chcon
Verander SELinux beveiligingscontext van een bestand of bestanden/mappen. Meer informatie: https://www.gnu.org/software/coreutils/manual/html_node/chcon-invocation.html.
ls {{[-lZ|-l --context]}} {{pad/naar/bestand}}
chcon --reference {{referentiebestand}} {{doelbestand}}
chcon {{gebruiker}}:{{rol}}:{{type}}:{{bereik/niveau}} {{bestandsnaam}}
chcon {{[-u|--user]}} {{user}} {{bestandsnaam}}
chcon {{[-r|--role]}} {{rol}} {{bestandsnaam}}
chcon {{[-t|--type]}} {{type}} {{bestandsnaam}}
chcon {{[-l|--range]}} {{bereik/niveau}} {{bestandsnaam}}