@
规则:如果文件夹有@,则表示有ACL权限。
xattr -c <finder>
示例:
> ll
drwxr-xr-x@ 14 yantao  admin   448B  4 17 01:38 code
> xattr -c code
> ll
drwxr-xr-x  14 yantao  admin   448B  4 17 01:38 code
+
规则:如果文件夹有+,则表示有ACL权限或者有扩展属性。
chmod -N <finder>
示例:
> ll
drwxr-xr-x+   5 yantao  admin     170 Oct  5 03:43 Desktop
drwxr-xr-x+  17 yantao  admin     578 Sep 25 22:20 Documents
> chmod -N ~/Destop
> ll
drwxr-xr-x    5 yantao  admin     170 Oct  5 03:43 Desktop
drwxr-xr-x+  17 yantao  admin     578 Sep 25 22:20 Documents