Hi there, I have this problem with tar 1.24 when I launch these from a shell script:
gzip -cd source.tar.gz | tar -xvf - -C dest-dir/ The uncompressed file does not appear (completely) in the "dest-dir". Instead, I have part of the uncompressed file in the current working directory. Explicit steps: # ls -l total 3804 -rw-r--r-- 1 selk users 3884546 Sep 7 04:37 mc-4.7.4.tar.gz -rwxr-xr-x 1 root root 122 Oct 25 15:52 test # ./test ++ pwd + CWD=/tmp/other + mkdir -p /tmp/other/temp-dir + gzip -cd /tmp/other/mc-4.7.4.tar.gz + tar -xvf - -C /tmp/other/temp-dir # ls -l total 3812 drwx------ 12 root root 4096 Oct 25 15:53 mc-4.7.4 -rw-r--r-- 1 selk users 3884546 Sep 7 04:37 mc-4.7.4.tar.gz drwxr-xr-x 3 root root 4096 Oct 25 15:53 temp-dir -rwxr-xr-x 1 root root 122 Oct 25 15:52 test * The directory "mc-4.7.4" should not be here. # ls -l temp-dir/ total 4 drwxrwxr-x 12 500 500 4096 Sep 7 04:18 mc-4.7.4
