| 主机参考:VPS测评参考推荐/专注分享VPS服务器优惠信息!若您是商家可以在本站进行投稿,查看详情!此外我们还提供软文收录、PayPal代付、广告赞助等服务,查看详情! |
| 我们发布的部分优惠活动文章可能存在时效性,购买时建议在本站搜索商家名称可查看相关文章充分了解该商家!若非中文页面可使用Edge浏览器同步翻译!PayPal代付/收录合作 |
读取(读取,r):允许用户读取文件内容或列出目录内容。 写(W,W):允许用户更改文件内容或向目录添加新内容。
execute(execute,x):允许用户以程序或脚本或输入目录执行文件。
You can set special permissions using the following syntax:
chmod [ugoa] [+ - =] [rwx]File or directory
For example, to set, write and execute permissions to the owner of a file, you can use the following command: By running permissions on the directory, user groups, and other user owners, you can use the following command: Each grant bit corresponds to a编号:读(r)= 4,写(w)= 2,execute(x)=1。示例:
CHMOD 755可以代表文件名的组合。 (4+1 = 5)。
这几篇文章你可能也喜欢:
- 如何在坡道环境中优化数据库(数据库优化方法)
- 如何解决动物园管理器延迟问题
- 如何备份和恢复Zookeeper数据(Zookeeper数据所在)
- 如何优化Zookeeper内存使用率(Zookeeper Zuul)
- 如何管理数据库侦听器(数据库Binlog侦听器)
本文由主机参考刊发,转载请注明:Linux CHMOD可以设置特殊权限 https://zhujicankao.com/147316.html
主机参考















评论前必须登录!
注册