X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9A8433858423 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1684952396; bh=O68V8a2YXOADoTY0k419b+VW312jSF9/Hj+nvJQh5Ys=; h=Subject:Date:Cc:To:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From:Reply-To:From; b=r5FjbVCyG9hjaxkbNoaz+ZvG0FQbE4NWbFcf9Sdup0KeqPN+084Fd+Fpuf9ciwUPK nFNP7CYGhGBi/A7d5EYeHkSsULoxqs0h02P3gngVcUcrdc1NtM/Sn3Lyid3NxIxJx9 I5jN/LBcxhSSqxodebUrfcMAyrCfof3X3bRlnqrY= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 5A6353856DF2 Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.500.231\)) Subject: inside /bin/tar: cannot change mode Message-Id: Date: Wed, 24 May 2023 20:18:50 +0200 Cc: Denis Excoffier To: cygwin AT cygwin DOT com X-Mailer: Apple Mail (2.3731.500.231) X-Spam-Status: No, score=-0.6 required=5.0 tests=BAYES_00, JMQ_SPF_NEUTRAL, KAM_DMARC_STATUS, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NEUTRAL, TXREP, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.29 List-Id: General Cygwin discussions and problem reports List-Archive: List-Post: List-Help: List-Subscribe: , From: Denis Excoffier via Cygwin Reply-To: Denis Excoffier Content-Type: text/plain; charset="utf-8" Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 34OIKLC9028063 Hello, I have an error (about symlinks it seems) that i have never met in years: Cannot change mode. Apart from this message (and return code != 0), the ’tar extract’ is ok. % uname -a CYGWIN_NT-10.0-17763 {edited} 3.5.0-0.295.g3bee68248fc8.x86_64 2023-05-01 17:58 UTC x86_64 Cygwin % cd /tmp; rm -rf mytest mytest.tar % mkdir mytest % ln -s b mytest/a % /bin/tar cf /tmp/mytest.tar mytest % /bin/tar tvf /tmp/mytest.tar drwxr-xr-x {edited}/{edited} 0 2023-05-24 13:12 mytest/ lrwxrwxrwx {edited}/{edited} 0 2023-05-24 13:12 mytest/a -> b % rm -rf mytest % /bin/tar xf /tmp/mytest.tar /bin/tar: mytest/a: Cannot change mode to rwxr-xr-x: Not a directory /bin/tar: Exiting with failure status due to previous errors % echo $status 2 % /tmp is under ntfs filesystem, all packages are up to date (e.g. /bin/tar --version is 1.34). Regards, Denis Excoffier. -- 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