Fix the --delay-directory-restore option
* src/extract.c (find_direct_ancestor): New function. (create_placeholder_file): Set after_links member on delayed_set_stat entries starting from the direct ancestor of the placeholder file. * tests/extrac21.at: New testcase. * tests/testsuite.at: Add extrac21 * tests/Makefile.am: Likewise. * NEWS: Update.
This commit is contained in:
7
NEWS
7
NEWS
@@ -1,4 +1,4 @@
|
||||
GNU tar NEWS - User visible changes. 2017-04-06
|
||||
GNU tar NEWS - User visible changes. 2017-11-16
|
||||
Please send GNU tar bug reports to <bug-tar@gnu.org>
|
||||
|
||||
|
||||
@@ -32,6 +32,11 @@ issued the following error message
|
||||
* --numeric-owner now affects private headers too.
|
||||
This helps the output of 'tar' to be more deterministic.
|
||||
|
||||
* Fixed the --delay-directory-restore option
|
||||
|
||||
In some cases tar would restore the directory permissions too early,
|
||||
causing subsequent link extractions in that directory to fail.
|
||||
|
||||
|
||||
version 1.29 - Sergey Poznyakoff, 2016-05-16
|
||||
|
||||
|
||||
Reference in New Issue
Block a user