in reply to Problem with Archive::Tar created archives and Winzip
Did you try setting the $Archive::Tar::DO_NOT_USE_PREFIX variable to "true" ? Admittedly the FAQ seems to be describing a slightly different issue, but (IIRC) setting $Archive::Tar::DO_NOT_USE_PREFIX variable to "true" does fix that "flattening" issue you describe.I'm using WinZip, or some other non-POSIX client, and files are not being extracted properly! By default, "Archive::Tar" is in a completely POSIX-compatible mo +de, which uses the POSIX-specification of "tar" to store files. For paths greather than 100 characters, this is done using the "POSIX header prefix". Non-POSIX-compatible clients may not support this part of the specification, and may only support the "GNU Extended Header" functionality. To facilitate those clients, you can set t +he $Archive::Tar::DO_NOT_USE_PREFIX variable to "true". See the "GLO +BAL VARIABLES" section for details on this variable.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Problem with Archive::Tar created archives and Winzip
by smahesh (Pilgrim) on Jul 20, 2007 at 10:38 UTC |