coreutils
[Top][All Lists]
Advanced

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

Re: rm should exit immediately if the user cannot write to the parent di


From: Andreas Schwab
Subject: Re: rm should exit immediately if the user cannot write to the parent directory
Date: Fri, 04 Sep 2015 08:55:26 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Alex Henrie <address@hidden>
writes:

> I'd like to see the standard changed so that once rm determines that
> the file is read-only, it may optionally check that the file can
> actually be deleted and skip the prompt if it cannot.

That assumes that it is actually possible to determine this condition
reliably.  There is also the problem of TOCTOU.

Andreas.

-- 
Andreas Schwab, address@hidden
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



reply via email to

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