cvs commit: src/etc/rc.d cleartmp

Dmitry Morozovsky marck at rinet.ru
Mon Dec 1 10:19:45 PST 2003


On Mon, 1 Dec 2003, Nate Lawson wrote:

NL> > find /tmp -name '.X[0-9]-lock -type f | xargs rm -f
NL> > [ -d /tmp/.X11-unix ] && rm -rf /tmp/.X11-unix
NL> > mkdir -m 1777 /tmp/.X11-unix
NL>
NL> rm doesn't follow symlinks.  But yes, filename poisoning is the kind of
NL> thing I thought needed to be solved.

Ah, yeah, sure, the first line is not needed (in find form). Checking for
.X11-unix should exist however due to recursive remove.

Sincerely,
D.Marck                                     [DM5020, MCK-RIPE, DM3-RIPN]
------------------------------------------------------------------------
*** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck at rinet.ru ***
------------------------------------------------------------------------


More information about the cvs-all mailing list