标签: linux file-permissions acl
我不小心使用setfacl添加了扩展权限,那么如何删除它?
我成功通过
setfacl -R u:user2:wrx /tmp
并且我已尝试按照手册页的指示删除
setfacl -R -x u:user2:wrx /tmp
但无法成功删除此权限
答案 0 :(得分:1)
方法如下:
setfacl -bn foobar
来源:
https://unix.stackexchange.com/questions/339765/how-to-remove-acl-from-a-directory-and-back-to-usual-access-control