Blogger Information
Blog 28
fans 0
comment 2
visits 52115
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
linux 限制用户只能操作某个目录下的权限
耶和华信徒的博客
Original
1640 people have browsed it

setfacl -x u:userA -R / #删除抄userA的所有权限袭,

setfacl -m u:userA:rwx /dir1 #赋予userA对dir1的读写执行权限;

具体原理还不清楚,暂时没有时间深究;后续发现会陆续更新,欢迎各位小伙伴提出宝贵意见

Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments
Author's latest blog post