[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#24714: delete-directory race condition
From: |
Andreas Schwab |
Subject: |
bug#24714: delete-directory race condition |
Date: |
Mon, 17 Oct 2016 19:00:55 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) |
On Okt 17 2016, Glenn Morris <rgm@gnu.org> wrote:
> I don't think that's enough, since a file could equally well be
> _created_ by some other process after delete-directory calls directory-files.
That is ok. The operation cannot successfully be completed in this case.
> Frankly I don't see how Emacs's delete-directory can work reliably as
> currently implemented.
A property it shares with any other operation recursing on directories,
in Emacs or elsewhere.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
- bug#24714: delete-directory race condition, Glenn Morris, 2016/10/16
- bug#24714: delete-directory race condition, Paul Eggert, 2016/10/18
- bug#24714: delete-directory race condition, Glenn Morris, 2016/10/18
- bug#24714: delete-directory race condition, Glenn Morris, 2016/10/18
- bug#24714: delete-directory race condition, Eli Zaretskii, 2016/10/19
- bug#24714: delete-directory race condition, Paul Eggert, 2016/10/20
- bug#24714: delete-directory race condition, Daniel Colascione, 2016/10/21
- bug#24714: delete-directory race condition, Andreas Schwab, 2016/10/21
- bug#24714: delete-directory race condition, Daniel Colascione, 2016/10/21
- bug#24714: delete-directory race condition, Eli Zaretskii, 2016/10/21