|
From: | Vadim Livshitz |
Subject: | [Bug-tar] Bug in a Gnu tar |
Date: | Mon, 15 Oct 2007 10:21:33 +0200 |
Hi,
This is the test case:
OS: Solaris 10
Host: non-global zone
Tar version: 1.19
I use the following command to create a tar file:
tar cvPTWf list.file my.tar
Where list.file contents only one line:
/usr/local/testdir/testfile
After my.tar file creating I remove /usr/local/testdir dir,
And use the following command to open tar file:
tar xvPf my.tar
I get the following error message:
Tar: /usr/local/testdir/testfile: Cannot open: No such file or directory
Tar: Error exit delayed from previous errors
Some more info:
1.Using tar command without P flag creates local dir tree without any problem.
2.Using /usr/sbin/tar instead of Gnu tar fix the problem.
3.Gnu tar on other file system(not /usr/local) works properly.
4.Creating /usr/local/testdir dir prior to tar command execution fix the problem.
5. Gnu tar works properly on global zone.
Best Regards,
Vadim Livshitz
Amdocs Israel
Unix Team
( 972-9-7762173
This message and the information contained herein is proprietary and confidential and subject to the Amdocs policy statement, you may review at http://www.amdocs.com/email_disclaimer.asp |
[Prev in Thread] | Current Thread | [Next in Thread] |