Originally Posted by
valan
Files in /tmp should not be touched unless you know exactly what they are for and what they are doing. Lock files might be in /tmp, some programs rely on the use of /tmp and it expects it's files to be there when it looks. PostgreSQL for example uses /tmp, and deleting a certain file from there could break it (or at least require you to restart the server). Things in /tmp are temporary though, anything that uses /tmp needs to expect that /tmp will be empty on boot and that files not used for long periods of time may be deleted. Most distros at least delete /tmp on boot and/or shutdown. Some distros do check files in /tmp and delete those which haven't been used for a long time. But in general, do not touch /tmp.