This is a very stupid question but how can we set up /var/tmp? Is there a special way to do it or will just creating the directory suffice?
1 Answer
Like /tmp, it should have the sticky bit set so that files can only be delete by their owner, and it should be world-writable:
mkdir /var/tmp && chmod 01777 /var/tmp