On Mon, Feb 20, 2012 at 11:38:49PM +0100, suvayu ali wrote:
> Or use tmpwatch to do the cleaning.

A good suggestion.  I would also point out a warning to developers--of both
compiled programs and scripts.

It's a poor program or script that creates files in /tmp or /usr/tmp and
doesn't take appropriate steps to protect itself.  You should *expect*
files and/or directories to be deleted from temporary directories.

So how do you protect yourself?  Set the sticky bit on files and
directories.  Keep them open as long as you're going to need them (open
files and directories can't be "really" deleted.)  And, of course,
be good about cleaning up after yourself when you no longer need them.

Good developers are paranoid.

Cheers,
--
        Dave Ihnat
        dih...@dminet.com
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Reply via email to