X-Recipient: archive-cygwin@delorie.com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BABBD398C83C
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
	s=default; t=1601652415;
	bh=MiAi0YuOB5v7eoUt0aChYicc/VE8fU8x3XCyaIZd+8s=;
	h=Date:Subject:To:List-Id:List-Unsubscribe:List-Archive:List-Post:
	 List-Help:List-Subscribe:From:Reply-To:From;
	b=N7ReCtwVB9mz2/NS6yEWrCS0tCBXgX60Onwf4KWWAxxszihST6Elx2xD3VPFE96nc
	 w0Ms4ToSlIZxymS2PRDNWTVkvmbLtuHkKMkHnEzbvMsq7H60IH6intlxtbON/VNMcp
	 90BPI5mPmqylOjDJ6iPD+0BSYPRrVXZrZLLYQFvk=
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 8154D3870894
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
 bh=b3/jJ/0hbd7HTVAsE28FXwkGZd9qTc4eD0dvecVWxKM=;
 b=Yn5cA8vvkBqucZeVrC0U8As9rfuL26jlADlEcRc3rKpfGIW28AlMg2t2gEc92jtgXz
 nM/cl9zWPiNjFqVLo7O8Jf6SBOo82VeGqfFSx7/8uvaNu9BTfM1s6JcFI2YBcQ/5h4a/
 1iCza911U89II1YF5DHAG5V/TXKM/kRl2KOfcYu1m23tqJjx911/CYmxnW1+iIF5jarD
 7e023mOGDakSzyWBDr56S2miKg7vQDqXWLhy7Nl7d+gRlLOfZt2qiZGlkKk1w/jfglpW
 hzH+pknPw4t/PI7D9Pqenfu4BgzrvPqPD9DFIW2Vbbf134g2jHHXrZfvLT7BMoyGfl15
 Zy7Q==
X-Gm-Message-State: AOAM530B7+zlgR0O2Yt27dF9G4xF1VlvoyvWYzcpoQCUTA55gwK0lqf+
 tpivWwSzvsomR2WXN8eFi5jXopSGOe5a+C5YPkPc7L8RFmc9pA==
X-Google-Smtp-Source: ABdhPJy/Mqu+04me6kBexV1VjCvbxLjyvKNC6LLW70E5PECOSPvJOpz50uI8SPoACFJxCS6wYwWm8pBmLdp9PqnuFVo=
X-Received: by 2002:a05:651c:141:: with SMTP id
 c1mr946746ljd.182.1601652393097; 
 Fri, 02 Oct 2020 08:26:33 -0700 (PDT)
MIME-Version: 1.0
Date: Fri, 2 Oct 2020 20:56:21 +0530
Message-ID: <CAB848Xth+Y8gzGdLYqtGVCYt=egWzbw_EUCqT921oGEtSH+=Mg@mail.gmail.com>
Subject: Problem with tar version 1.29 (in Cygwin 3.6 64 bit) in extracting
 sym-link files
To: cygwin@cygwin.com
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, DKIM_SIGNED,
 DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,
 SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
 server2.sourceware.org
X-BeenThere: cygwin@cygwin.com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
From: vinay Hegde via Cygwin <cygwin@cygwin.com>
Reply-To: vinay Hegde <vinay.dhegde@gmail.com>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: "Cygwin" <cygwin-bounces@cygwin.com>

Hi Cygwin Team,
In Cygwin 3.6, I am facing an issue while using tar.exe for extracting
.tar.z file.

Issue summary:
When I use 'tar.exe' to extract the .tar.z file, it extracts all files
including symlinks. But symlink file size will be 0KB & it throws
error 'The file cannot be accessed by the system', if I try to open in
any Windows editor like notepad or notepad++

Below are the details:
-   OS: Windows 2019
-   Cygwin version installed: 3.6 (tar version: 1.29)
-   Command used to extract the tar file is: tar -zxvf jre64.tar.Z
-   'ls -l' on the extracted directory shows:
lrwxrwxrwx  1 etbuild Domain Users      8 Jul 10  2017 ControlPanel -> jcontrol
-rwxr-xr-x+ 1 etbuild Domain Users   7734 Mar 15  2017 java
-rwxr-xr-x+ 1 etbuild Domain Users 128791 Mar 15  2017 javaws
-rwxr-xr-x+ 1 etbuild Domain Users   6264 Mar 15  2017 jcontrol

-     As you can see 'ControlPanel' is a symlink file with 0KB
(8Bytes) size. This file, I cannot open in any Windows editor. It
throws error like ''The file cannot be accessed by the system'

-    However, I can open this file in vi editor or I can 'cat' this.

-    Earlier, I was using Cygwin version 1.7 (tar version: 1.27) & in
that, this issue was not there. Symlink file size was 1KB & I could
open it with any Windows editor.

Please suggest what needs to be done to fix this issue.

Regards
Vinay Hegde
--
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple
