Fixed /tmp permissions and added /var/tmp