💾 Archived View for freeshell.de › tldr › chcon.gmi captured on 2024-07-09 at 00:42:56. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2022-04-28)

-=-=-=-=-=-=-

chcon

Change SELinux security context of a file or files/directories.

More information.

ls -lZ {path/to/file}
chcon --reference={reference_file} {target_file}
chcon {user}:{role}:{type}:{range/level} {filename}
chcon -u {user} {filename}
chcon -r {role} {filename}
chcon -t {type} {filename}
chcon -l {range/level} {filename}
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).

CC-BY