Bloodnok has asked for the wisdom of the Perl Monks concerning the following question:
Not for the first time, I find myself seeking the benefit of your wisdom &/or experience...
Whilst developing a new script, I noticed that tar files (whether compressed, or not) created using Archive::Tar fails to preserve absolute paths - every absolute path I wrote to the archive was automagically converted to a relative path by virtue of having the leading slash removed.
I wondered whether anybody else had noticed this somewhat unexpected behaviour ? I can't believe that such a fundamental problem has gone unnoticed all this time...
perl -v is 5.8.8 & $Archive::Tar::VERSION is 1.32 - a situation I have to make the best of for reasons way beyond my control.
Thanking you all in advance ...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Archive:Tar appears to store absolute pathnames as relative pathnames
by keszler (Priest) on Dec 11, 2009 at 13:28 UTC | |
by roboticus (Chancellor) on Dec 11, 2009 at 14:42 UTC | |
|
Re: Archive:Tar appears to store absolute pathnames as relative pathnames
by Fox (Pilgrim) on Dec 11, 2009 at 13:21 UTC | |
by Bloodnok (Vicar) on Dec 11, 2009 at 13:30 UTC | |
by Anonymous Monk on Apr 20, 2011 at 14:05 UTC | |
|
Re: Archive:Tar appears to store absolute pathnames as relative pathnames
by almut (Canon) on Dec 11, 2009 at 13:24 UTC | |
by Bloodnok (Vicar) on Dec 11, 2009 at 13:38 UTC |