Quote:
Originally Posted by Yourcat
Opening a file does likely not modify it. Stripping the leading slash during extraction is usually what most people expect. So there could be also nice anti-virus programs or browser plugins altering the archive.
alias tar="tar --absolute-names" 
|
We already went through this previously.
If Safari is set to open (rather than save) the archive with the system's default archiver, when you select 'save' it re-archives the "opened" contents, with only 'safe' paths.
It does not save the original file, it recreates it.
= = = =
And the sub-topic here is Mac OSx - whose default archiver is bsdtar, not gnutar.
bsdtar does not have an "--absolute-names" option.