Date: Wed, 26 Sep 2007 00:06:46 +0200 From: "Patrick M. Hausen" <hausen@punkt.de> To: freebsd-stable@freebsd.org Subject: Re: rm(1) bug, possibly serious Message-ID: <20070925220646.GA35281@hugo10.ka.punkt.de> In-Reply-To: <20070925215414.GQ23625@e-Gitt.NET> References: <200709251512.l8PFCoPe006574@lurza.secnetix.de> <26ddd1750709250825j2d70798awa96cd0d2d305e0a9@mail.gmail.com> <20070925215414.GQ23625@e-Gitt.NET>
next in thread | previous in thread | raw e-mail | index | archive | help
Hello! On Tue, Sep 25, 2007 at 11:54:14PM +0200, Oliver Brandmueller wrote: > In sh: > > $ which rm > /bin/rm > $ cd /tmp > $ mkdir -p foo/bar > $ cd foo/bar > $ rm -rf ../ > rm: ../: Invalid argument $ pwd /tmp $ ktrace -i /bin/sh $ which rm /bin/rm $ mkdir -p foo/bar $ cd foo/bar $ rm -rf ../ rm: ../: Invalid argument $ rm -rf ../ $ ktrace -C ... 35356 rm NAMI "../" 35356 rm RET rmdir -1 errno 22 Invalid argument ... 35488 rm NAMI "../" 35488 rm RET lstat -1 errno 2 No such file or directory ... HTH, Patrick -- punkt.de GmbH * Vorholzstr. 25 * 76137 Karlsruhe Tel. 0721 9109 0 * Fax 0721 9109 100 info@punkt.de http://www.punkt.de Gf: Jürgen Egeling AG Mannheim 108285
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070925220646.GA35281>