Re: rm(1) bug, possibly serious
- From: "Patrick M. Hausen" <hausen@xxxxxxxx>
- Date: Wed, 26 Sep 2007 00:06:46 +0200
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@xxxxxxxx http://www.punkt.de
Gf: Jürgen Egeling AG Mannheim 108285
_______________________________________________
freebsd-stable@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe@xxxxxxxxxxx"
- References:
- rm(1) bug, possibly serious
- From: Oliver Fromme
- Re: rm(1) bug, possibly serious
- From: Maxim Khitrov
- Re: rm(1) bug, possibly serious
- From: Oliver Brandmueller
- rm(1) bug, possibly serious
- Prev by Date: Re: rm(1) bug, possibly serious
- Next by Date: Re: FreeBSD PseudoRAID RAID0 array broken on atapci1: <Intel ICH5 SATA150 controller>
- Previous by thread: Re: rm(1) bug, possibly serious
- Next by thread: Re: rm(1) bug, possibly serious
- Index(es):
Relevant Pages
|