Cannot compress any file
Run the following commands in order in Terminal. Same issue for me and fixed it. I'm not sure what's causing it but I have to run it every so often to fix it.

sudo mkdir /private/tmp
sudo chmod 0777 /private/tmp