[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: patch for a race condition and a related bug in cp
From: |
Jim Meyering |
Subject: |
Re: patch for a race condition and a related bug in cp |
Date: |
Sun, 04 Feb 2007 11:58:06 +0100 |
Paul Eggert <address@hidden> wrote:
> 2007-02-02 Paul Eggert <address@hidden>
>
> * tests/cp/parent-perm-race: Test for cp --preserve=mode race.
Thanks again.
I've separated the patches into two change sets.
I noticed that the code changed in cp.c's (make_dir_parents_private)
isn't exercised by any of the new tests. I couldn't think of a way
to test it, either -- at least without resorting to the use of a
debugger -- since the only syscall between the mkdir and chmod is
an lstat of the just-created directory.