Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Dec 2003 21:18:50 +0300 (MSK)
From:      Dmitry Morozovsky <marck@rinet.ru>
To:        Nate Lawson <nate@root.org>
Cc:        cvs-all@freebsd.org
Subject:   Re: cvs commit: src/etc/rc.d cleartmp
Message-ID:  <20031201211508.P68895@woozle.rinet.ru>
In-Reply-To: <20031201092551.A13395@root.org>
References:  <20031201163631.B160A16A557@hub.freebsd.org> <20031201084533.H13221@root.org><20031201092551.A13395@root.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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@rinet.ru ***
------------------------------------------------------------------------



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