(I am not subscribed - please cc: me on replies) Hi,
I expect --no-overwrite-dir to preserve permissions of existing directories when I use tar extract files. I test with 1.28. The permissions of existing directory tmpdir/ is 700. In tmpdir.tar it's 777. After extracting tmpdir.tar, the permissions of tmpdir/ changes to 755 (because of umask 22). Shouldn't it keep as 700? bash-4.3$ umask 0022 bash-4.3$ ls -ld tmpdir drwx------ 2 test test 40 Sep 1 22:41 tmpdir bash-4.3$ tar tvf tmpdir.tar drwxrwxrwx test/test 0 2019-09-01 22:41 tmpdir/ bash-4.3$ tar -xvf tmpdir.tar --no-overwrite-dir tmpdir/ bash-4.3$ ls -ld tmpdir drwxr-xr-x 2 test test 40 Sep 1 22:41 tmpdir Regards, Danting