common/u*: add Chinese translation (#14688)
* common/u*: add Chinese translation * Update uv-tool.md * Update ugrep.md
This commit is contained in:
20
pages.zh/common/umask.md
Normal file
20
pages.zh/common/umask.md
Normal file
@@ -0,0 +1,20 @@
|
||||
# umask
|
||||
|
||||
> 管理用户为新创建文件设置的读/写/执行权限掩码(即被限制的权限)。
|
||||
> 更多信息:<https://manned.org/umask>.
|
||||
|
||||
- 显示当前掩码(八进制表示):
|
||||
|
||||
`umask`
|
||||
|
||||
- 以符号方式(人类可读格式)显示当前掩码:
|
||||
|
||||
`umask -S`
|
||||
|
||||
- 符号化更改掩码以允许所有用户的读取权限(掩码的其他部分保持不变):
|
||||
|
||||
`umask {{a+r}}`
|
||||
|
||||
- 设置掩码(使用八进制)以对文件的所有者不限制任何权限,对其他所有人限制所有权限:
|
||||
|
||||
`umask {{077}}`
|
Reference in New Issue
Block a user