Gentoo Archives: gentoo-dev

From: Marius Mauch <genone@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] rm tragedies: was how to clean the "/tmp" dir
Date: Sun, 30 May 2004 04:15:03
Message-Id: 40B95F9F.5080206@gentoo.org
In Reply to: [gentoo-dev] rm tragedies: was how to clean the "/tmp" dir by purslow@sympatico.ca
1 purslow@×××××××××.ca wrote:
2
3 > given that 'rm' automatically rejects '..' & '.' in these circumstances,
4 > it really shd also reject '/' & '~' (incl '/home/username').
5 > i wonder whether the Gentoo developers cd fix the Gentoo version to do that ?
6
7 rm doesn't ignore those dirs, the * wildcard simply doesn't match them.
8 That's why you should _never_ use .* as a wildcard to match config files.
9
10 Marius
11
12 --
13 gentoo-dev@g.o mailing list