MacOS – Software Update Permissions error

macospermissionsoftware-update

This is a really weird one. Anytime I try to update any OSX items via System Update I get a bizarre permissions error.

The screenshots tell the story…

Here is my attempt to run the update:

Here is my console log when I run the update:

Lastly here are my permissions on the folder that is being denied from the console log:

The background info about this system is that it is a work computer that was originally set up for another user. He was set up as the admin, then I was given this machine. His account was deleted and mine was given admin privileges.

Anyone seen anything like this?

Best Answer

I've seen errors like this after an Apply to enclosed items was done to the Macintosh HD.

/var/folders/zz/zyxvpxvq6csfxfn_n00000s0000068 shouldn't be owned by your user account, but by _softwareupdate (UID=200). I see errors about …n00000sb400002s (_spotlight=89) and …n00000sm00006d (_locationd=205) as well, which isn't a good sign.

You could just reset /var/folders/zz/zyxvpxvq6csfxfn_n00000s0000068 permissions to 200:200 with a chown -R (sudo chown -R 200:200 /var/folders/zz/zyxvpxvq6csfxvn_n00000s0000068). /var/folders itself should be owned by root.

Since you've removed it, you could recreate (might have to recreate the 0,T and C subfolders too…) it and set its ownership as above. You could do that now, and it might let software updates download, maybe even install. It also might not.

You could remove /var/folders, but I've seen a system that didn't like that. If the permissions on it are mangled and you'd like to try without it, I recommend renaming it in single user mode first.