|
From: | David Vitali |
Subject: | FW: Problem extracting on Windows 2000 and XP |
Date: | Fri, 11 Oct 2002 10:58:02 -0700 |
Forwarded to the alias specified at gnu.org. Note that the versions of tar and gzip used in the descriptions below were those made available at gnu.org.
-----Original Message-----
I am having problems extracting files from compressed tar (GNU tar) 1.12 archives created under Windows 2000 and XP. I do not see this problem on Windows 98 or Windows 98 SE. The commands are run from within a DOS .bat file. The archive creation/backup phase is as follows:
tar -cPvT %4 | gzip -c >%2.tz tar -cMf %3%2.tzt %2.tz
Parameter descriptions are as follows:
%4 = command file containing list of files %2 = archive filename %3 = path of archive file
For example:
tar -cPvT archive.cmd | gzip -c >archive.tz tar -cMf c:\temp\archive.tzt archive.tz
(archive.tz is a temporary file)
The archive extraction/restore phase is as follows:
tar -xMf %3%2.tzt gzip -dc %2.tz | tar -xPvT %4
Parameters are the same as the backup phase.
For example:
tar -xMf c:\temp\archive.tzt gzip -dc archive.tz | tar -xPvT archive.cmd
The backup phase works successfully. However, the restore phase fails under Windows 2000 and XP with the following error message:
tar: Archive.tz: Could not change access and modification times: Input or output error (EIO) tar: Error exit delayed from previous errors
I have narrowed the error down to the first step in the restore phase (tar -xMf %3%2.tzt). I have experimented with some of the file attribute related switches (e.g. –m) but have thus far not been able to correct the problem. Hence, I think this may be a bug. Could you please confirm this and let me know whether or not this has already been reported, or if a fix is available? I have attached copies of the tar and gzip executables I am using in case you require them.
-David
|
[Prev in Thread] | Current Thread | [Next in Thread] |