GNU logs - #17138, boring messages


Message sent to bug-coreutils@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#17138: how to respect target symlinks w/cp?  problem?
Resent-From: Linda Walsh <coreutils@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-coreutils@HIDDEN
Resent-Date: Sat, 29 Mar 2014 02:04:01 +0000
Resent-Message-ID: <handler.17138.B.139605858225530 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 17138
X-GNU-PR-Package: coreutils
X-GNU-PR-Keywords: 
To: 17138 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-coreutils@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.139605858225530
          (code B ref -1); Sat, 29 Mar 2014 02:04:01 +0000
Received: (at submit) by debbugs.gnu.org; 29 Mar 2014 02:03:02 +0000
Received: from localhost ([127.0.0.1]:55284 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1WTibt-0006dV-OZ
	for submit <at> debbugs.gnu.org; Fri, 28 Mar 2014 22:03:02 -0400
Received: from eggs.gnu.org ([208.118.235.92]:37089)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <coreutils@HIDDEN>) id 1WTibr-0006dH-FW
 for submit <at> debbugs.gnu.org; Fri, 28 Mar 2014 22:03:00 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <coreutils@HIDDEN>) id 1WTibh-0000vP-UP
 for submit <at> debbugs.gnu.org; Fri, 28 Mar 2014 22:02:59 -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 autolearn=disabled
 version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:59668)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <coreutils@HIDDEN>) id 1WTibh-0000vJ-R3
 for submit <at> debbugs.gnu.org; Fri, 28 Mar 2014 22:02:49 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:38783)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <coreutils@HIDDEN>) id 1WTibb-0003XH-Gg
 for bug-coreutils@HIDDEN; Fri, 28 Mar 2014 22:02:49 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <coreutils@HIDDEN>) id 1WTibV-0000nv-Cd
 for bug-coreutils@HIDDEN; Fri, 28 Mar 2014 22:02:43 -0400
Received: from ishtar.tlinx.org ([173.164.175.65]:36834)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <coreutils@HIDDEN>) id 1WTibV-0000f0-0U
 for bug-coreutils@HIDDEN; Fri, 28 Mar 2014 22:02:37 -0400
Received: from [192.168.4.12] (Athenae [192.168.4.12])
 by Ishtar.tlinx.org (8.14.7/8.14.4/SuSE Linux 0.8) with ESMTP id
 s2T22RQe041053
 for <bug-coreutils@HIDDEN>; Fri, 28 Mar 2014 19:02:30 -0700
Message-ID: <533629B3.7020005@HIDDEN>
Date: Fri, 28 Mar 2014 19:02:27 -0700
From: Linda Walsh <coreutils@HIDDEN>
User-Agent: Thunderbird
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x (no
 timestamps) [generic]
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-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)

I was wanting to copy a source tree
to a target where the target had some symlink'd dirs..


/arch64/> \cp -r usr/. ../usr/.
cp: cannot overwrite non-directory `../usr/././share' with directory `usr/./share'

I have a setup on a bi-arch machine
where /usr/share under each 'arch' points to a common
/common/share/... I see options in the manpage for
having cp respect the SOURCE symlinks, but
see no option to have it respect symlinks in the target.

Note: If I wanted the target's symlinks to be overwritten
or ignored, I would use "cp -fa" that would overwrite
the symlinks (I think) and create them as directories,
but barring "a", why doesn't it just follow the path?

The purpose of symlinks was to allow seamless redirection,
but now more utils seem to be ignoring that usage just
like on a security level group access is being increasingly
ignored.

tar just overwrites the symlink with the dir w/o warning...






Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.503 (Entity 5.503)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Linda Walsh <coreutils@HIDDEN>
Subject: bug#17138: Acknowledgement (how to respect target symlinks w/cp? 
 problem?)
Message-ID: <handler.17138.B.139605858225530.ack <at> debbugs.gnu.org>
References: <533629B3.7020005@HIDDEN>
X-Gnu-PR-Message: ack 17138
X-Gnu-PR-Package: coreutils
Reply-To: 17138 <at> debbugs.gnu.org
Date: Sat, 29 Mar 2014 02:04:02 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-coreutils@HIDDEN

If you wish to submit further information on this problem, please
send it to 17138 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
17138: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D17138
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to bug-coreutils@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#17138: how to respect target symlinks w/cp?  problem?
Resent-From: Linda Walsh <coreutils@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-coreutils@HIDDEN
Resent-Date: Mon, 31 Mar 2014 04:08:01 +0000
Resent-Message-ID: <handler.17138.B17138.139623884816855 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 17138
X-GNU-PR-Package: coreutils
X-GNU-PR-Keywords: 
To: 17138 <at> debbugs.gnu.org
Received: via spool by 17138-submit <at> debbugs.gnu.org id=B17138.139623884816855
          (code B ref 17138); Mon, 31 Mar 2014 04:08:01 +0000
Received: (at 17138) by debbugs.gnu.org; 31 Mar 2014 04:07:28 +0000
Received: from localhost ([127.0.0.1]:57510 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1WUTVQ-0004Nm-CL
	for submit <at> debbugs.gnu.org; Mon, 31 Mar 2014 00:07:28 -0400
Received: from ishtar.tlinx.org ([173.164.175.65]:39056)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <coreutils@HIDDEN>) id 1WUTVN-0004Nb-Vd
 for 17138 <at> debbugs.gnu.org; Mon, 31 Mar 2014 00:07:27 -0400
Received: from [192.168.4.12] (Athenae [192.168.4.12])
 by Ishtar.tlinx.org (8.14.7/8.14.4/SuSE Linux 0.8) with ESMTP id
 s2V47J6D095849
 for <17138 <at> debbugs.gnu.org>; Sun, 30 Mar 2014 21:07:22 -0700
Message-ID: <5338E9F6.9050300@HIDDEN>
Date: Sun, 30 Mar 2014 21:07:18 -0700
From: Linda Walsh <coreutils@HIDDEN>
User-Agent: Thunderbird
MIME-Version: 1.0
References: <533629B3.7020005@HIDDEN>
In-Reply-To: <533629B3.7020005@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Score: -0.6 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.6 (/)

Is some server bottled up somewhere? this bug was the last one
I saw come through...

Linda Walsh wrote:
> I was wanting to copy a source tree
> to a target where the target had some symlink'd dirs..
> 
> 
> /arch64/> \cp -r usr/. ../usr/.
> cp: cannot overwrite non-directory `../usr/././share' with directory 
> `usr/./share'
> 
> I have a setup on a bi-arch machine
> where /usr/share under each 'arch' points to a common
> /common/share/... I see options in the manpage for
> having cp respect the SOURCE symlinks, but
> see no option to have it respect symlinks in the target.
> 
> Note: If I wanted the target's symlinks to be overwritten
> or ignored, I would use "cp -fa" that would overwrite
> the symlinks (I think) and create them as directories,
> but barring "a", why doesn't it just follow the path?
> 
> The purpose of symlinks was to allow seamless redirection,
> but now more utils seem to be ignoring that usage just
> like on a security level group access is being increasingly
> ignored.
> 
> tar just overwrites the symlink with the dir w/o warning...
> 
> 
> 
> 
> 




Message received at control <at> debbugs.gnu.org:


Received: (at control) by debbugs.gnu.org; 11 Jan 2019 09:06:58 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jan 11 04:06:58 2019
Received: from localhost ([127.0.0.1]:54527 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ghsmI-0001O4-8l
	for submit <at> debbugs.gnu.org; Fri, 11 Jan 2019 04:06:58 -0500
Received: from mail-pf1-f182.google.com ([209.85.210.182]:46276)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <assafgordon@HIDDEN>) id 1ghsmH-0001Nr-E6
 for control <at> debbugs.gnu.org; Fri, 11 Jan 2019 04:06:57 -0500
Received: by mail-pf1-f182.google.com with SMTP id c73so6665060pfe.13
 for <control <at> debbugs.gnu.org>; Fri, 11 Jan 2019 01:06:57 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=to:from:message-id:date:user-agent:mime-version:content-language
 :content-transfer-encoding;
 bh=uWQhHGYd34mv7aTdjRVZY2ipMfiIBAbjQh/yuo91ZRQ=;
 b=o99WjpUAniFeoYhoelan5fZfgvaYhy/RmsPzJeSHJI1sNKGzS5Ic8Z0k2MHcyfkjWC
 DE1puPNS2ZgP7C8p01KL5R6RYaC5LeonuXFAF6xen7rJaVW+hlU8JAwf5PWzkYeW/I7j
 EdSlh7GgLFVsNPYxueqOCwok6qRxvFlQlsJgg7+OFk84v1ninzAXaSxG6VIfYBMy+LIs
 CoKTpwWQ0PVnNmKsdweeBPWZn4I4Dc/6MWlO1ssISjnvp97AnmX6aF02KKqvj21tzoMo
 83aLUfSfR9tUa/BBMzmAlELWbBBqh0ETBLPUK/OJpF2NU7hRu8CH2YdCHt7LVdZz8j8u
 YXuw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:to:from:message-id:date:user-agent:mime-version
 :content-language:content-transfer-encoding;
 bh=uWQhHGYd34mv7aTdjRVZY2ipMfiIBAbjQh/yuo91ZRQ=;
 b=LGuoqe/woLFXavMxfJNAAWryb+wwtMe5BWbm9mUblAdJ5ZHCZ5JtSbkr2r35RDw8Yh
 LR3gUR6cnHXTiqYBcGqVlYhPZMwkghd4tZE2G6zPSbJX6B3koSw/XACiA1EHe/MdLFF+
 HavcpRZuh0JxblO+P+B5rS17l2MxiiwGOChMuweidFOexHO9WzRNiBGSi4QZmu7Evp07
 P8oK/UbvdlkNkbA/AbCpc8KYUxDGbbthxKz6SihTzOlW+VWWesoip65pCpDGHrbMv4lX
 OiOS3reSTi5oth1tUH3Mf9PZuw2FirZ78qPV648je4YNTHUeEZ1Duz7NX3gIg4G414D2
 qy5w==
X-Gm-Message-State: AJcUukeqjD64eiDmoEKA99w6KtMLH/k64wZbrH1jb7KWq0Em8CQPf2mO
 ojfpXHqCze2s6gpQs1mMLAWexgDL
X-Google-Smtp-Source: ALg8bN7uOXLFAi+pwbHg/u2mdjshK/Ug0vGtq3pXZfkIRj5HWQjnLZCC19Pu/Y/5FtfepTsrKx2IkQ==
X-Received: by 2002:a63:587:: with SMTP id 129mr12469814pgf.273.1547197611221; 
 Fri, 11 Jan 2019 01:06:51 -0800 (PST)
Received: from tomato.housegordon.com (moose.housegordon.com. [184.68.105.38])
 by smtp.googlemail.com with ESMTPSA id
 v89sm120901699pfj.164.2019.01.11.01.06.49
 for <control <at> debbugs.gnu.org>
 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Fri, 11 Jan 2019 01:06:50 -0800 (PST)
To: control <at> debbugs.gnu.org
From: Assaf Gordon <assafgordon@HIDDEN>
Message-ID: <672cc3a7-79dc-31a2-b51f-54877e82a2e5@HIDDEN>
Date: Fri, 11 Jan 2019 02:06:49 -0700
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101
 Thunderbird/60.4.0
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
X-Spam-Score: 2.0 (++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 Content preview:  retitle 17138 cp: how to respect target symlinks? retitle
 17103 cp: "cp -al" doesn't copy symlinks, tries to link to them retitle 15738
 cp: "cp -a A B" doesn't reliably create 'B' as copy of A 
 Content analysis details:   (2.0 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at http://www.dnswl.org/,
 no trust [209.85.210.182 listed in list.dnswl.org]
 0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
 provider (assafgordon[at]gmail.com)
 -0.0 SPF_PASS               SPF: sender matches SPF record
 1.8 MISSING_SUBJECT        Missing Subject: header
 0.2 NO_SUBJECT             Extra score for no subject
X-Debbugs-Envelope-To: control
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 1.0 (+)

retitle 17138 cp: how to respect target symlinks?

retitle 17103 cp: "cp -al" doesn't copy symlinks, tries to link to them

retitle 15738 cp: "cp -a A B" doesn't reliably create 'B' as copy of A





Last modified: Mon, 25 Nov 2019 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.