OS X‎ > ‎

删除~/Documents

用ls -l ~看到该目录的权限最后是个+,表明有ACL

用ls -led Documents可以看到具体的ACE (Entries):

tux@macbook:~(0)$ ls -led Documents
drwx------+ 3 tux  staff  102 Sep 19 11:13 Documents
 0: group:everyone deny delete

用chmod删掉ACE:

tux@macbook:~(0)$ chmod -a "group:everyone deny delete" Documents

现在目录就可以移走了:

tux@macbook:~(0)$ ls -led Documents
drwx------  3 tux  staff  102 Sep 19 11:13 Documents
Comments