add new chinese translations
This commit is contained in:
17
pages.zh/linux/matchpathcon.md
Normal file
17
pages.zh/linux/matchpathcon.md
Normal file
@@ -0,0 +1,17 @@
|
||||
# matchpathcon
|
||||
|
||||
> 查找路径的持久 SELinux 安全上下文设置。
|
||||
> 另见: `semanage-fcontext`、`secon`、`chcon`、`restorecon`。
|
||||
> 更多信息: <https://manned.org/matchpathcon.8>。
|
||||
|
||||
- 查找绝对路径的持久安全上下文设置:
|
||||
|
||||
`matchpathcon {{/path/to/file}}`
|
||||
|
||||
- 限制查找特定文件类型的设置:
|
||||
|
||||
`matchpathcon -m {{file|dir|pipe|chr_file|blk_file|lnk_file|sock_file}} {{/path/to/file}}`
|
||||
|
||||
- [V]erify 验证路径的持久安全上下文和当前安全上下文是否一致:
|
||||
|
||||
`matchpathcon -V {{/path/to/file}}`
|
Reference in New Issue
Block a user