|
From: | KAEFFERBITZ, Thomas |
Subject: | [Bug-tar] Tar is destroying existing symbolic links - or maybe I'm ignorant with the gnu-tar |
Date: | Thu, 28 Dec 2006 12:21:37 -0000 |
Hello Together,
I think the following is a bug, but maybe I just can't handle it correctly.
The situation before invoking tar showed those directories on the machine
$ ls -ld bin*
lrwxrwxrwx 1 kaefferb vvv 16 Dec 28 12:58 bin -> /v3/v3i17/bin-80
drwxrwxr-x 2 kaefferb vvv 11816 Oct 5 12:17 bin-72
drwxrwxr-x 2 kaefferb vvv 14296 Dec 28 11:10 bin-75
drwxr-xr-x 2 kaefferb vvv 14504 Dec 28 11:50 bin-80
We had been here
$ pwd
/v3/v3i17
Now I took the tar-extract from the archive
$ tar xvzf LATEST.tgz 'bin'
bin/
bin/XGPIDSYU.dll_WINNT_ORA7 ....
This resulted in a new situation
$ ls -ld bin*
drwxrwxr-x 2 kaefferb vvv 928 Dec 28 12:21 bin
drwxrwxr-x 2 kaefferb vvv 11816 Oct 5 12:17 bin-72
drwxrwxr-x 2 kaefferb vvv 14296 Dec 28 11:10 bin-75
drwxr-xr-x 2 kaefferb vvv 14504 Dec 28 11:50 bin-80
the symbolic link was replaced by the directory from the tar-archive; there is enough work-araound, but a little inconvenient in a frequently changing environment.
The option '-h' didn't work, as expected.
Thanks, greetings and a happy 2007 for You all,
Thomas Käfferbitz * Softwareentwickler * V3.Investmentdepot * Solmsstr. 2 - 22, 60486 Frankfurt am Main, Deutschland
Tel +49 2683 984-449 * <mailto:address@hidden> * www.sungard.de/v3>
CONFIDENTIALITY: This e-mail (including any attachments) may contain confidential, proprietary and privileged information, and unauthorized disclosure or use is prohibited. If you received this e-mail in error, please notify the sender and delete this e-mail from your system.
Sie möchten gerne regelmäßig über aktuelle Neuigkeiten von SunGard EXP EMEA und V3 informiert werden?
Abonnieren Sie unseren Newsletter unter www.sungard.com/de/V3Newsletter
[Prev in Thread] | Current Thread | [Next in Thread] |