Archive:Tar appears to store absolute pathnames as relative pathnamesby Bloodnok (Vicar)
|on Dec 11, 2009 at 13:04 UTC||Need Help??|
Bloodnok has asked for the
wisdom of the Perl Monks concerning the following question:
Good local time, most venerable brothers and sisters,
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 ...
A user level that continues to overstate my experience :-))