파일 또는 파일/디렉토리의 SELinux 보안 컨텍스트를 변경합니다. 같이 보기:
secon,restorecon,semanage-fcontext. 더 많은 정보: https://www.gnu.org/software/coreutils/manual/html_node/chcon-invocation.html.
ls {{[-lZ|-l --context]}} {{경로/대상/파일}}
chcon --reference {{참조_파일}} {{대상_파일}}
chcon {{사용자}}:{{역할}}:{{타입}}:{{범위/레벨}} {{파일명}}
chcon {{[-u|--user]}} {{사용자}} {{파일명}}
chcon {{[-r|--role]}} {{역할}} {{파일명}}
chcon {{[-t|--type]}} {{타입}} {{파일명}}
chcon {{[-l|--range]}} {{범위/레벨}} {{파일명}}