bug-tar
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-tar] Regarding untaring tar files containing symlinks


From: Amit Kapila
Subject: Re: [Bug-tar] Regarding untaring tar files containing symlinks
Date: Sat, 5 Jul 2014 10:41:49 +0530

On Fri, Jul 4, 2014 at 7:51 PM, Linda A. Walsh <address@hidden> wrote:
>
>
> tar-1.27.1
> I created the file on linux using tar-1.26-19.1.2.x86_64, which is from:
>
> URL         : http://www.gnu.org/software/tar/
> Summary     : GNU implementation of tar ((t)ape (ar)chiver)

Thanks for all the suggestions.

I had ensure all the settings as mentioned by you especially below
one's:

cygcheck -f /bin/tar 
 tar-1.27.1-1
echo $CYGWIN - same as yours
fsutil behavior query symlinkevaluation - same result as yours.

I am using different tar format as mentioned upthread to form the
archive, for me after doing tar xf <abc.tar>, it always create
system file containing the symlink path as:
!<symlink> c:\tbs 
but never actually creates the symbolic link.

I have attached both the tar files with this mail, could you please
once check how does it work in your environment

16386.tar - create a folder in C:\ as C:\tbs, copy this tar
in that folder and extract it in that folder, this is symlink path
base.tar - Create any folder example: c:\Data, copy this tar in
that folder and extract it.

Please extract in order as mentioned to ensure that symlink folder
gets extracted first.
Please check contents of C:\Data\pg_tblspc, ideally it should contain
symlink to C:\tbs.

With Regards,
Amit Kapila.

Attachment: base.tar
Description: Unix tar archive

Attachment: 16386.tar
Description: Unix tar archive


reply via email to

[Prev in Thread] Current Thread [Next in Thread]