summaryrefslogtreecommitdiff
path: root/tests/pipe.at
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org>2020-02-08 13:01:47 +0200
committerSergey Poznyakoff <gray@gnu.org>2020-02-08 13:08:20 +0200
commit14d8fc718f0c872274b90991ee634b0cd8e1a6f0 (patch)
treeeaaaec66bc7609724e9a5d9ac0d57835550b9355 /tests/pipe.at
parent883cc555df870e45599fd5ed951843c332fcdafc (diff)
downloadtar-14d8fc718f0c872274b90991ee634b0cd8e1a6f0.tar.gz
Fix the --no-overwrite-dir option
Given this option, tar failed to preserve permissions of empty directories and to create files under directories owned by the current user that did not have the S_IWUSR bit set. * src/extract.c (fd_chmod): Rename to fd_i_chmod. (fd_chmod): New function. (safe_dir_mode): New function. (extract_dir): Special handling for existing directories in --no-overwrite-dir mode. * tests/extrac23.at: New file. * tests/Makefile.am: Add new test case. * tests/testsuite.at: Likewise.
Diffstat (limited to 'tests/pipe.at')
0 files changed, 0 insertions, 0 deletions