On 10/01/2021 à 14:50, Achim Gratz wrote:
GNU tar has been updated to the latest upstream release 1.33.
Unfortunately it has reintroduced this old bug:
https://lists.gnu.org/archive/html/bug-tar/2011-08/msg00006.html
This happens when symlinks are located before the target in the source
archive. The example given in the above link produces this output:
$ tar -xf directory.tar
tar: directory/1: Cannot change mode to rwxr-xr-x: No such file or directory
tar: directory/2: Cannot change mode to rwxr-xr-x: No such file or directory
tar: directory/3: Cannot change mode to rwxr-xr-x: No such file or directory
tar: Exiting with failure status due to previous errors
Note that files and symlinks are properly extracted, but $? is set to 2 so
scripts can fail.
tar 1.32-2 : ok
tar 1.33-1 : bug
This needs to be fixed.
Regards,
--
Vincent Rivière
--
Problem reports: https://cygwin.com/problems.html
FAQ: https://cygwin.com/faq/
Documentation: https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple