macOS El Capitan (10.11) is unable to install any software updates or install any software because the /tmp and the /private/tmp folders don't seem to be writeable.
Running this:
sudo /usr/libexec/repair_packages --repair --standard-pkgs --volume /
Gives me this error:
unable to set owner and group on "tmp" Error 1 Operation not permitted
unable to set permissions on "tmp" Error 1 Operation not permitted
Is there a way to manually delete the tmp folders and recreate them?
When I tried renaming or deleting /tmp or /private/tmp I kept getting operation not permitted. sudo chmod 1777 also failed in the same way on both /tmp and /private/tmp folders
Disk Utility says the disk is healthy with no issues detected when running first aid.
Is there any way to redirect the tmp location to another writeable folder?