Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Feb 1998 09:54:35 -0800
From:      Cy Schubert - ITSD Open Systems Group <cschuber@uumail.gov.bc.ca>
To:        "David E. Tweten" <tweten@frihet.com>
Cc:        Robert Watson <robert+freebsd@cyrus.watson.org>, freebsd-security@FreeBSD.ORG
Subject:   Re: Find, Rm, and Root's Crontab 
Message-ID:  <199802231755.JAA02501@passer.osg.gov.bc.ca>
In-Reply-To: Your message of "Sat, 21 Feb 1998 11:57:04 PST." <199802211957.LAA16982@ns.frihet.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
> robert@cyrus.watson.org said:
> >I have actually found that the best and most enjoyable solution to /
> >tmp-cleaning is to use an MFS-based /tmp.
> 
> I agree.  I use it.  My problem isn't /tmp cleaning.  It's cleaning #* files,
 
> *~ files, core files, etc. from wherever they hide.  My exmh #* files, for 
> example, live under my home directory in the messages' original folders from 
> before they were "deleted" by exmh.
> 
> The problem that used to be solved by find and rm, before we discovered that 
> they constitute unsafe computing, is (old) junk files wherever they may be 
> found.
> 
> So, again, did FreeBSD decide to do anything more than comment out junk file 
> removal in /etc/daily?  If so, is it done and what is it?  If not, can I help

Try the -delete flag of find.  It is not atomic so a race condition, 
though much smaller, still exists.


Regards,                       Phone:  (250)387-8437
Cy Schubert                      Fax:  (250)387-5766
UNIX Support                   OV/VM:  BCSC02(CSCHUBER)
ITSD                          BITNET:  CSCHUBER@BCSC02.BITNET
Government of BC            Internet:  cschuber@uumail.gov.bc.ca
                                       Cy.Schubert@gems8.gov.bc.ca




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe security" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199802231755.JAA02501>