From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 27 11:29:26 2015 Received: (at submit) by debbugs.gnu.org; 27 Apr 2015 15:29:26 +0000 Received: from localhost ([127.0.0.1]:41373 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YmkyL-0002Mw-NQ for submit@debbugs.gnu.org; Mon, 27 Apr 2015 11:29:26 -0400 Received: from eggs.gnu.org ([208.118.235.92]:48604) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YmhIs-0002iY-W6 for submit@debbugs.gnu.org; Mon, 27 Apr 2015 07:34:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YmhIn-0007g1-0b for submit@debbugs.gnu.org; Mon, 27 Apr 2015 07:34:17 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:58686) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YmhIm-0007fx-Ub for submit@debbugs.gnu.org; Mon, 27 Apr 2015 07:34:16 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33865) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YmhIl-0001Ps-Sr for bug-coreutils@gnu.org; Mon, 27 Apr 2015 07:34:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YmhIe-0007b5-LG for bug-coreutils@gnu.org; Mon, 27 Apr 2015 07:34:15 -0400 Received: from mail-wi0-x22c.google.com ([2a00:1450:400c:c05::22c]:33998) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YmhIe-0007ad-BG for bug-coreutils@gnu.org; Mon, 27 Apr 2015 07:34:08 -0400 Received: by wicmx19 with SMTP id mx19so81823099wic.1 for ; Mon, 27 Apr 2015 04:34:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cryptoexperts.com; s=crx; h=from:content-type:content-transfer-encoding:subject:message-id:date :to:mime-version; bh=tmnDC+fHN7T9Nr1tGJsEg25x47wha6dO0+zthmrxfGA=; b=NK6a/yvC1Pdtxfa9pmF9oDFx9WD5PpoTv4wY5T36MB0UxouiCV7Y+h4wICoSaqwfzs 9w3ff0GMe0IFMwug5KwSg4eAmFlZN1ZlVaD/4omTVQ/aDvqvFCSzzQQEQ574IW1K2mP6 AEyi25xCVGrtLLto0oFGuahkVjPvbgdd/LE50= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:content-type:content-transfer-encoding :subject:message-id:date:to:mime-version; bh=tmnDC+fHN7T9Nr1tGJsEg25x47wha6dO0+zthmrxfGA=; b=EPiz0J3TQLm1ifs1GpToLJqOL1Ykn+fGGKqrvMR45itDdEkFjSKyHEapFTsXkUmlkV V+fXGbqTihgqlcCjYrNwiircf/vK9tb4555B7nvkvDm0Ta00Mw9ZLeTNTVNbXXsUGA1B SMdVi2mtcdtlMoi0F/TpM16vmfIQIQnsn6WuZl30KyC/LMqEtvemeJaq6jKXnJ5CRPlv AoPDADII1uGrBLZQ1fHmn/41wr3Zf1n3RdT7c5PeT2oIA32Setyy4oiNsO2qrZepbb8a gCg829cQNM85hHNGXjjlyCdecwkKdR/nlxP+nQRFLXmwWp23U2axhWZMw852KshQk1n7 OLmQ== X-Gm-Message-State: ALoCoQkEqk7Av+b2Xj8Dxh6Xvbep7t4nBtKHfNHg8kwbdYZv1P1r0PmGlHvi2UjQYh09f9o6aHci X-Received: by 10.180.73.180 with SMTP id m20mr19696486wiv.2.1430134446987; Mon, 27 Apr 2015 04:34:06 -0700 (PDT) Received: from tbaigner-imac-eth.cryptoexperts.net (LPuteaux-656-1-25-145.w80-12.abo.wanadoo.fr. [80.12.84.145]) by mx.google.com with ESMTPSA id fo7sm11262715wic.1.2015.04.27.04.34.05 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 27 Apr 2015 04:34:06 -0700 (PDT) From: Thomas Baigneres Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: coreutils 8.23 on OS X : Calling gcp -al fails on symbolic links Message-Id: <6CFAD546-4ED0-4DC0-8018-96B99E5501E8@cryptoexperts.com> Date: Mon, 27 Apr 2015 13:34:03 +0200 To: bug-coreutils@gnu.org Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\)) X-Mailer: Apple Mail (2.2098) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Mon, 27 Apr 2015 11:29:19 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Hello, Consider the following directory hierarchy: $ ls -lR total 0 drwxr-xr-x 4 user group 136 Apr 24 13:51 source ./source: total 16 -rw-r--r-- 1 user group 0 Apr 24 13:50 file.txt lrwxr-xr-x 1 user group 8 Apr 24 13:51 symbolic-link-to-file -> file.txt Trying to copy the `source` directory with the options -a (archive) and -l (hard link files instead of copying) fails when using the 8.23 version of coreutils: $ gcp -al source destination gcp: cannot create hard link 'destination/symbolic-link-to-file' to 'source/symbolic-link-to-file': Operation not supported Trying to do the same with the 8.22 version of coreutils works as expected : $ gcp -al source destination $ ls -lR total 0 drwxr-xr-x 4 user group 136 Apr 24 13:51 destination drwxr-xr-x 4 user group 136 Apr 24 13:51 source ./destination: total 16 -rw-r--r-- 2 user group 0 Apr 24 13:50 file.txt lrwxr-xr-x 1 user group 8 Apr 24 13:51 symbolic-link-to-file -> file.txt ./source: total 16 -rw-r--r-- 2 user group 0 Apr 24 13:50 file.txt lrwxr-xr-x 1 user group 8 Apr 24 13:51 symbolic-link-to-file -> file.txt Searching the internet suggests that the culprit might be the `linkat()` function, which exists but does not work as expected by coreutils. Regards, Thomas From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 27 12:05:05 2015 Received: (at 20438) by debbugs.gnu.org; 27 Apr 2015 16:05:05 +0000 Received: from localhost ([127.0.0.1]:41398 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YmlWq-0003Rw-QT for submit@debbugs.gnu.org; Mon, 27 Apr 2015 12:05:05 -0400 Received: from mail6.vodafone.ie ([213.233.128.184]:33303) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YmlTS-0003L1-BJ for 20438@debbugs.gnu.org; Mon, 27 Apr 2015 12:01:35 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AjARAJhcPlVtT0tl/2dsb2JhbABcgwwfNFwByBuFfwECAoEyTAEBAQEBAYELQQEEg1sBAQQnCwFFEQsNCwkWDwkDAgECAUUGAQwIAQGIKwEIuUeODAwgiziFDIQtAQSVVoY4gSKGLYpCg1Ajg3U9MgEBgkEBAQE Received: from unknown (HELO localhost.localdomain) ([109.79.75.101]) by mail3.vodafone.ie with ESMTP; 27 Apr 2015 17:01:26 +0100 Message-ID: <553E5D56.1080205@lincor.com> Date: Mon, 27 Apr 2015 17:01:26 +0100 From: =?windows-1252?Q?P=E1draig_Brady?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: Thomas Baigneres , 20438@debbugs.gnu.org Subject: Re: bug#20438: coreutils 8.23 on OS X : Calling gcp -al fails on symbolic links References: <6CFAD546-4ED0-4DC0-8018-96B99E5501E8@cryptoexperts.com> In-Reply-To: <6CFAD546-4ED0-4DC0-8018-96B99E5501E8@cryptoexperts.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 20438 X-Mailman-Approved-At: Mon, 27 Apr 2015 12:05:03 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) On 27/04/15 12:34, Thomas Baigneres wrote: > Hello, > > Consider the following directory hierarchy: > > $ ls -lR > total 0 > drwxr-xr-x 4 user group 136 Apr 24 13:51 source > > ./source: > total 16 > -rw-r--r-- 1 user group 0 Apr 24 13:50 file.txt > lrwxr-xr-x 1 user group 8 Apr 24 13:51 symbolic-link-to-file -> file.txt > > > Trying to copy the `source` directory with the options -a (archive) and -l > (hard link files instead of copying) fails when using the 8.23 version > of coreutils: > > $ gcp -al source destination > gcp: cannot create hard link 'destination/symbolic-link-to-file' to > 'source/symbolic-link-to-file': Operation not supported > > Trying to do the same with the 8.22 version of coreutils works as > expected : > > $ gcp -al source destination > $ ls -lR > total 0 > drwxr-xr-x 4 user group 136 Apr 24 13:51 destination > drwxr-xr-x 4 user group 136 Apr 24 13:51 source > > ./destination: > total 16 > -rw-r--r-- 2 user group 0 Apr 24 13:50 file.txt > lrwxr-xr-x 1 user group 8 Apr 24 13:51 symbolic-link-to-file -> file.txt > > ./source: > total 16 > -rw-r--r-- 2 user group 0 Apr 24 13:50 file.txt > lrwxr-xr-x 1 user group 8 Apr 24 13:51 symbolic-link-to-file -> file.txt > > > Searching the internet suggests that the culprit might be the `linkat()` > function, which exists but does not work as expected by coreutils. Yes coreutils 8.23 uses linkat() for that where available: http://git.sv.gnu.org/gitweb/?p=coreutils.git;a=commitdiff;h=v8.22-23-g9654b67 BTW this issue is caught by gnulib and coreutils tests. I.E. `make check` may be being ignored on your build? There was initial work to fix this at: http://git.sv.gnu.org/gitweb/?p=gnulib.git;a=commit;h=c8e57ce5 That doesn't fix everything though I think, and I'll need to look into a complete fix for Mac OS X >= 10.10 (or revert to the previous coreutils behavior). cheers, Pádraig. From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 27 12:11:44 2015 Received: (at 20438) by debbugs.gnu.org; 27 Apr 2015 16:11:44 +0000 Received: from localhost ([127.0.0.1]:41402 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YmldI-0003eA-4S for submit@debbugs.gnu.org; Mon, 27 Apr 2015 12:11:44 -0400 Received: from mail4.vodafone.ie ([213.233.128.170]:53904) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YmldG-0003dr-N7 for 20438@debbugs.gnu.org; Mon, 27 Apr 2015 12:11:43 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ar4eAPBePlVtT0tl/2dsb2JhbABcgwwfNFwByBuFfwECAoEyTAEBAQEBAYELQQECAoNbAQEEJwsBVgsNCwkWDwkDAgECAUUTCAEBiCsBCLkvjjiLOIUMFoQXBZVWh1qGLYpCg1Ajg3U9MgEBgkEBAQE Received: from unknown (HELO localhost.localdomain) ([109.79.75.101]) by mail3.vodafone.ie with ESMTP; 27 Apr 2015 17:11:36 +0100 Message-ID: <553E5FB8.8000603@draigBrady.com> Date: Mon, 27 Apr 2015 17:11:36 +0100 From: =?windows-1252?Q?P=E1draig_Brady?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: 20438@debbugs.gnu.org Subject: Re: bug#20438: coreutils 8.23 on OS X : Calling gcp -al fails on symbolic links References: <6CFAD546-4ED0-4DC0-8018-96B99E5501E8@cryptoexperts.com> In-Reply-To: <6CFAD546-4ED0-4DC0-8018-96B99E5501E8@cryptoexperts.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 20438 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) On 27/04/15 12:34, Thomas Baigneres wrote: > Hello, > > Consider the following directory hierarchy: > > $ ls -lR > total 0 > drwxr-xr-x 4 user group 136 Apr 24 13:51 source > > ./source: > total 16 > -rw-r--r-- 1 user group 0 Apr 24 13:50 file.txt > lrwxr-xr-x 1 user group 8 Apr 24 13:51 symbolic-link-to-file -> file.txt > > > Trying to copy the `source` directory with the options -a (archive) and -l > (hard link files instead of copying) fails when using the 8.23 version > of coreutils: > > $ gcp -al source destination > gcp: cannot create hard link 'destination/symbolic-link-to-file' to > 'source/symbolic-link-to-file': Operation not supported > > Trying to do the same with the 8.22 version of coreutils works as > expected : > > $ gcp -al source destination > $ ls -lR > total 0 > drwxr-xr-x 4 user group 136 Apr 24 13:51 destination > drwxr-xr-x 4 user group 136 Apr 24 13:51 source > > ./destination: > total 16 > -rw-r--r-- 2 user group 0 Apr 24 13:50 file.txt > lrwxr-xr-x 1 user group 8 Apr 24 13:51 symbolic-link-to-file -> file.txt > > ./source: > total 16 > -rw-r--r-- 2 user group 0 Apr 24 13:50 file.txt > lrwxr-xr-x 1 user group 8 Apr 24 13:51 symbolic-link-to-file -> file.txt > > > Searching the internet suggests that the culprit might be the `linkat()` > function, which exists but does not work as expected by coreutils. > Yes coreutils 8.23 uses linkat() for that where available: http://git.sv.gnu.org/gitweb/?p=coreutils.git;a=commitdiff;h=v8.22-23-g9654b67 BTW this issue on OS X 10.10 is caught by gnulib and coreutils tests. I.E. `make check` may be being ignored on your build? There was initial work to fix this at: http://git.sv.gnu.org/gitweb/?p=gnulib.git;a=commit;h=c8e57ce5 That doesn't fix everything though I think, and I'll need to look into a complete fix for Mac OS X >= 10.10 (or revert to the previous coreutils behavior). cheers, Pádraig. From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 22 22:15:46 2018 Received: (at 20438) by debbugs.gnu.org; 23 Oct 2018 02:15:46 +0000 Received: from localhost ([127.0.0.1]:36730 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gEmEU-0007Pm-0Q for submit@debbugs.gnu.org; Mon, 22 Oct 2018 22:15:46 -0400 Received: from mail-it1-f196.google.com ([209.85.166.196]:53807) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gEmES-0007Kp-CD; Mon, 22 Oct 2018 22:15:44 -0400 Received: by mail-it1-f196.google.com with SMTP id q70-v6so97317itb.3; Mon, 22 Oct 2018 19:15:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=7XBCGq254Rca3y98E4ZtYaPhy1h2kn+1wTalQ2c0ifw=; b=E9VTT59S7Sovqbf+NGTH6b4gE2fo1bATzM3KNUTTmkH0kvb/Dd/3xkq45MBGGn3Mpn 8VXKTMvkbJ8j8JvSs0yPhqGigPbXCf1taXRWTFByZU+Mg4hfhOIfidHg+GU16oL0eLc2 osnoKHKgxWcNzxVqj8zalYfRtxJlYmSRemvmYUByddOtLs7yTrcAFcH31ZxeGicbqCOX zWBlACd400nqRWO4IdqlIklDPBWfEmsCprrR9QhInPLmr0wMkoTCndBov03CQoSBluC6 iBdqyAntgmDpdU3mkYl6Q2i98zWJmdlumQoVnmZXEJf5bryLXrlNVf6qJ9kpOs9RoOnM 3EVw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=7XBCGq254Rca3y98E4ZtYaPhy1h2kn+1wTalQ2c0ifw=; b=AaBceDc+m5eSl7CWnkZ9aEEmAa/AQ9p9ZMmPInp/c+A7ElJu+706SDKVRb1VkLzmnk Cth4H+/OCtOIeuNbQ6d2uFsuGFRZ455MrtoZlYqE8kNzOflqX+bUwopgMb1a7zW8lOVC s9W3RaSCG/mrZpFD8bV4SnlaOnSitOOKfD30vZcwlFpKeyM/f9TsoPhDZAjwUi2dhTxr HnMz2dQYHy3xbPRf+jvAzKyvPGAvt0odsXy7vSk72NFqpBdO9GZc0gIfcRBgiZEnza+2 BISCSMkzdmBh2ibLz/CZWbWCEM8QIlXHg6JP9CpsIk5NkxHBtExzo16duFYbUt7dVEt1 x7AQ== X-Gm-Message-State: ABuFfohjvzrQrdisLDcRaqugG8ozowlvpgNyvfGWry6bYJ6waAMwiDXs 3aGw6+9rLAhjh8WdPJWQTdm8olZW X-Google-Smtp-Source: ACcGV61QyonI0Jrvg+bsr/XDBFLiaDshTHT9yILXPzB3VXn/971AAVUHs6seyHuYEXuJUPe7sefgWA== X-Received: by 2002:a24:4386:: with SMTP id s128-v6mr11976988itb.151.1540260938204; Mon, 22 Oct 2018 19:15:38 -0700 (PDT) Received: from tomato.housegordon.com (moose.housegordon.com. [184.68.105.38]) by smtp.googlemail.com with ESMTPSA id q205-v6sm6633102itc.2.2018.10.22.19.15.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 22 Oct 2018 19:15:36 -0700 (PDT) Subject: Re: bug#20438: coreutils 8.23 on OS X : Calling gcp -al fails on symbolic links To: 20438@debbugs.gnu.org References: <6CFAD546-4ED0-4DC0-8018-96B99E5501E8@cryptoexperts.com> <553E5FB8.8000603@draigBrady.com> From: Assaf Gordon Message-ID: Date: Mon, 22 Oct 2018 20:15:35 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <553E5FB8.8000603@draigBrady.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 20438 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 20438 fixed close 20438 stop (triaging old bugs) On 27/04/15 10:11 AM, Pádraig Brady wrote: > On 27/04/15 12:34, Thomas Baigneres wrote: >> [...] >> Searching the internet suggests that the culprit might be the `linkat()` >> function, which exists but does not work as expected by coreutils. >> > Yes coreutils 8.23 uses linkat() for that where available: > http://git.sv.gnu.org/gitweb/?p=coreutils.git;a=commitdiff;h=v8.22-23-g9654b67 > > BTW this issue on OS X 10.10 is caught by gnulib and coreutils tests. > I.E. `make check` may be being ignored on your build? > > There was initial work to fix this at: > http://git.sv.gnu.org/gitweb/?p=gnulib.git;a=commit;h=c8e57ce5 With no further follow-ups in 5 years, and Mac OS X 10.10 being a bit old, I'm inclined to close this bug report. If this is still an issue, please reply to this thread. -assaf From unknown Thu Sep 11 06:33:43 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 20 Nov 2018 12:24:07 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator