bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: a suggestion for rm


From: Thomas Schwinge
Subject: Re: a suggestion for rm
Date: Fri, 28 Oct 2005 16:42:19 -0400
User-agent: Mutt/1.5.6+20040523i

On Fri, Oct 28, 2005 at 10:00:40AM +0300, M Atakan G?rkan wrote:
> Would it not make more sense for rm to fail completely
> if one of the files on the command line is not found? For
> example if I intend to delete the file foo1 and type
> rm foo 1
> and by chance have a file named "foo", it will be gone;
> even though rm can tell that something is wrong since
> it will fail on trying to unlink "1".

That can't work reliably due to race conditions.
You can surely make up an example for yourself.
;-)


Regards,
 Thomas




reply via email to

[Prev in Thread] Current Thread [Next in Thread]