Webchcon命令是修改对象(文件)的安全上下文,比如:用户、角色、类型、安全级别。 也就是将每个文件的安全环境变更至指定环境。 语法格式: chcon [参数] 常用参数: 参考实例 … WebThe chcon command changes the SELinux context for files. However, changes made with the chcon command do not survive a file system relabel, or the execution of the restorecon command. SELinux policy controls whether users are …
Explanation of the chcon command - Ask Ubuntu
Webchcon 修改对象(文件)的安全上下文 补充说明 chcon命令 是修改对象(文件)的安全上下文,比如:用户、角色、类型、安全级别。也就是将每个文件的安全环境变更至指定环境。 ... Linux命令手册内容来自网络和网友的补充,版权归属原作者,对任何法律问题及 ... WebOct 8, 2024 · Chcon is a command used in Linux to change the security context of a file or directory. This is useful when you need to change the permissions of a file or directory, or when you want to change the ownership of a file or directory. Chcon can also be used to change the default security context for a file or directory. flint tropics jersey lids
chcon命令 – 修改文件的安全上下文 – Linux命令大全(手册)
WebWith --reference, change the security context of each FILE to that of RFILE. affect the referent of each symbolic link (this is the default), rather than the symbolic link itself. The following options modify how a hierarchy is traversed when the -R option is also specified. If more than one is specified, only the final one takes effect. WebApr 23, 2024 · chcon -R --reference=RFILE FILE where: chcon - change file security context; you can check any security context of a file with ls -Z. -R - operate on files and … WebJan 6, 2024 · linux chcon命令 修改对象(文件)的安全上下文. chcon命令 是修改对象(文件)的安全上下文,比如:用户、角色、类型、安全级别。. 也就是将每个文件的安全环境变更至指定环境。. 使用 --reference 选项时,把指定文件的安全环境设置为与参考文件相同 … greater than games forum