Forums

Can't remove temp files as per 'Disk Quota' page

I tried to delete my tmp files to free up space, as per the Disk Quota page:

The files in /tmp/ are the most common cause of an unexpected quota max-out. It's usually safe to just delete them all: rm -rf /tmp/ /tmp/.

However, it does not execute:

~ $ rm -rf /tmp/* /tmp/.*
rm: refusing to remove '.' or '..' directory: skipping '/tmp/.'
rm: refusing to remove '.' or '..' directory: skipping '/tmp/..'

That's the expected behaviour. It is refusing to delete itself or its parent directory ("." or "..", respectively), but it would have still deleted all the other files in the tmp directory.

Ah I see, thank you for the clarification.