bug-tar
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-tar] Problem with tar 1.24.


From: Matias A. Fonzo
Subject: [Bug-tar] Problem with tar 1.24.
Date: Mon, 25 Oct 2010 15:55:54 -0300 (ART)
User-agent: SquirrelMail/1.4.15

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






reply via email to

[Prev in Thread] Current Thread [Next in Thread]