From owner-cvs-src@FreeBSD.ORG Mon Dec 1 10:19:45 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 99B1B16A4CE; Mon, 1 Dec 2003 10:19:45 -0800 (PST) Received: from woozle.rinet.ru (woozle.rinet.ru [195.54.192.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2845D43FD7; Mon, 1 Dec 2003 10:18:52 -0800 (PST) (envelope-from marck@rinet.ru) Received: from localhost (localhost [127.0.0.1]) by woozle.rinet.ru (8.12.10/8.12.10) with ESMTP id hB1IIoB5072537; Mon, 1 Dec 2003 21:18:50 +0300 (MSK) (envelope-from marck@rinet.ru) Date: Mon, 1 Dec 2003 21:18:50 +0300 (MSK) From: Dmitry Morozovsky To: Nate Lawson In-Reply-To: <20031201092551.A13395@root.org> Message-ID: <20031201211508.P68895@woozle.rinet.ru> References: <20031201163631.B160A16A557@hub.freebsd.org> <20031201084533.H13221@root.org><20031201092551.A13395@root.org> X-NCC-RegID: ru.rinet MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: cvs-src@freebsd.org cc: Mike Makonnen cc: src-committers@freebsd.org cc: cvs-all@freebsd.org Subject: Re: cvs commit: src/etc/rc.d cleartmp X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Dec 2003 18:19:45 -0000 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 *** ------------------------------------------------------------------------