After a recent run of Migration Assistant from an old MacBook to a new one, my Applications folder is owned by my normal user account rather than by root. This prevents VirtualBox from functioning (see here, for example).
Attempting to fix the permissions with a simple
sudo chown root /Applications gives the error
chown: /Applications: Operation not permitted. This is pleasantly vague, and the Internet assures me that there may be many causes. (I had other sources I could cite, but I'm new to this site, and thus can only post up to 2 links.)
I do not wish to just start removing flags carelessly from
/Applications, so I've done some investigating instead. Here's what's NOT the problem:
- File flags: Only the
sunlnkflag is set, which prevents
/Applicationsfrom being deleted. Seems entirely appropriate for
/Applications, so I think there's no problem there. In particular, the
suchgflag is NOT set.
- SIP: That feature doesn't govern the
/Applicationsfolder, as far as my reading indicates. So I don't think I need to do any of the "Recovery Mode" business to disable SIP.
- ACLs: The only one reported by
group:everyone deny deletewhich, again, seems entirely appropriate, and doesn't seem to have anything to do with
So that's what's NOT the problem (I think). But I don't know what IS the problem.