By default, extract destroys symbolic links on CentOS 7
Older CentOS 6 and tar-1.23-13.el6.x86_64 this didn't happen.
I don't know if this is CentOS specific or generic Tar behaviour.

How to reproduce:

mkdir temp2
ln -s temp2/ temp
ls -l

Jun 22 05:49 tarri.tar
Jun 27 02:23 temp -> temp2/
Jun 22 05:49 temp2

tar -xvf tarri.tar
temp/
temp/joku.txt

Tar extract has over written the symbolic link.
Jun 22 05:49 tarri.tar
Jun 22 05:48 temp
Jun 22 05:49 temp2




--
Netum Päivystys / Tero Kirjavainen
email: tero.kirjavai...@netum.fi
gsm: 044 745 1487

Reply via email to