From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lj1-x233.google.com (mail-lj1-x233.google.com [IPv6:2a00:1450:4864:20::233]) by sourceware.org (Postfix) with ESMTPS id 8154D3870894 for ; Fri, 2 Oct 2020 15:26:35 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 8154D3870894 Received: by mail-lj1-x233.google.com with SMTP id u21so1507746ljl.6 for ; Fri, 02 Oct 2020 08:26:35 -0700 (PDT) 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 From: vinay Hegde Date: Fri, 2 Oct 2020 20:56:21 +0530 Message-ID: Subject: Problem with tar version 1.29 (in Cygwin 3.6 64 bit) in extracting sym-link files To: cygwin@cygwin.com Content-Type: text/plain; charset="UTF-8" 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 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Oct 2020 15:26:54 -0000 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