4、 如今,给构成员设置读写权限。
- # getfacl /shares/project1/reports # Check the default ACL settings for the directory
- # setfacl -m user:tecmint:rw /shares/project1/reports # Give rw access to user tecmint
- # getfacl /shares/project1/reports # Check new ACL settings for the directory
- # chmod -R 0760 /shares/projects/reports
- # ls -l /shares/projects/ #check new permissions
好了!这篇教程中,我们向您展示了如安在 Linux 中将指定目次的读写权限付与用户。如有疑问,请在留言区中提问。
(题图:Pixabay,CC0)
【编辑推荐】
- 关于Linux过程你所须要知道的一切
- cpustat:在Linux下根据运行的过程监控CPU应用率
- pyDash:一个基于web的Linux机能监测对象
- LinuxKit NanoServer和DevOps是个啥关系?
- 如安在Linux上应用Meld比较文件夹
推荐阅读
如何在Ubuntu16.04中用Apache部署Jenkins自动化服务器
Jenkins 是大年夜 Hudson 项目衍生出来的主动化办事器。Jenkins 是一个基于办事器的应用法度榜样,运行在 Java servlet 容器中,它支撑包含 Git、SVN 以及 Mercurial 在内的多种 SCM(源码>>>详细阅读
地址:http://www.17bianji.com/lsqh/35087.html
1/2 1