I'm totally stumped on this one — a Macbook Air, 10.9.2. As far as I can tell, I should be able to write to my Library directory. Everything I can see suggests I should be able to:
[njvack@zot Library]$ sw_vers | grep ProductVersion
ProductVersion: 10.9.2
[njvack@zot Library]$ id -a
uid=503(njvack) gid=20(staff) groups=20(staff),403(com.apple.sharepoint.group.3),12(everyone),61(localaccounts),402(com.apple.sharepoint.group.2),100(_lpoperator),401(com.apple.sharepoint.group.1)
[njvack@zot Library]$ pwd
/Users/njvack/Library
[njvack@zot Library]$ ls -ld@ .
drwx------@ 58 njvack staff 1972 Apr 14 16:06 .
com.apple.metadata:_kTimeMachineNewestSnapshot 50
com.apple.metadata:_kTimeMachineOldestSnapshot 50
[njvack@zot Library]$ touch foo
touch: foo: Permission denied
And then for some reason I can work in ~/Library/iMovie
, even though the permissions should be effectively identical:
njvack@zot Library]$ cd iMovie/
[njvack@zot iMovie]$ pwd
/Users/njvack/Library/iMovie
[njvack@zot iMovie]$ ls -ld@ .
drwx------+ 4 njvack staff 136 Apr 16 08:41 .
[njvack@zot iMovie]$ touch foo
What else could be causing this? What can I check? FWIW, Disk Utility's Check Permissions doesn't complain about anything.
EDIT: As suggested, here's the ACL entries:
[njvack@zot Library]$ ls -led .
drwx------@ 58 njvack staff 1972 Apr 14 16:06 .
0: group:everyone deny add_file,delete,add_subdirectory,delete_child,writeattr,writeextattr,chown
... and as ACLs override UNIX permissions, removing the ACLs was the trick:
[njvack@zot Library]$ pwd
/Users/njvack/Library
[njvack@zot Library]$ chmod -RN .
[njvack@zot Library]$ touch foo
How did I get such screwy ACLs on my ~/Library? I have no idea.
ls -ld@eO
on it show? (The-e
and-O
show access control entries and file flags, respectively.)