Just updated a Mac Mini from 10.5.2 to 10.5.7 with the latest patches & security updates.
Permissions on my Documents folder are broken beyond belief:
I have one user on this machine, let's call it john. With admin privileges. Not secure, but it couldn't be simpler from a permissions perspective.
I'm really not in the mood to reinstall the OS now..... I might limp along for a while ignoring the Documents folder if I can help it - everything else seems to be fine, bizarrely. Wanted to see if anyone had any other insights.
Permissions on my Documents folder are broken beyond belief:
I have one user on this machine, let's call it john. With admin privileges. Not secure, but it couldn't be simpler from a permissions perspective.
- In Finder, everything appears to be fine. Can traverse, view, and write in it.
- In Terminal (and other apps that try to write to the Documents folder), I can traverse, write and delete, but not read.
- ~/Documents/ls : ls: .: Operation not permitted
- ~/ ls Documents : ls: Documents: Operation not permitted
- ~/ ls -le: drwxr-x---@ 9 john staff 288 Dec 29 19:56 Documents
- whoami : john
- sudo su: shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
- pwd: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
- Then if I cd / and cd back to exactly where I just was... those errors go away.
- ls as su? You guessed it, "Operation not permitted".
- Inspected POSIX+ACL permissions in Terminal and with TinkerTool. john is the owner, has r+w access, etc.
- Folders had an everyone: deny delete ACL, but removing it didn't matter. Changing staff from no rights to read-only didn't matter either. For both ~/ and ~/Documents. Same behavior.
- Tried without ACLs, with explicit allow-everything to john - no change
- All other home folders (Movies, Pictures, etc.) appear to be fine.
- Tried Disk Utility first aid, no change.
- Tried Recovery mode + repairHomePermissions tool, no change.
- Haven't tried the deprecated diskutility repair permissions terminal command. Of course at this point Apple pulled the permissions repair documentation, because of course, permissions issues in Catalina do not exist. 🙂
I'm really not in the mood to reinstall the OS now..... I might limp along for a while ignoring the Documents folder if I can help it - everything else seems to be fine, bizarrely. Wanted to see if anyone had any other insights.