Assaf Gordon <assafgordon@HIDDEN>
to control <at> debbugs.gnu.org
.
Full text available.Received: (at 17138) by debbugs.gnu.org; 31 Mar 2014 04:07:28 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Mar 31 00:07:28 2014 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 To: 17138 <at> debbugs.gnu.org Subject: Re: bug#17138: how to respect target symlinks w/cp? problem? 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-Debbugs-Envelope-To: 17138 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... > > > > >
bug-coreutils@HIDDEN
:bug#17138
; Package coreutils
.
Full text available.Received: (at submit) by debbugs.gnu.org; 29 Mar 2014 02:03:02 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Mar 28 22:03:02 2014 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 To: bug-coreutils@HIDDEN Subject: how to respect target symlinks w/cp? problem? 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-Debbugs-Envelope-To: submit 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...
Linda Walsh <coreutils@HIDDEN>
:bug-coreutils@HIDDEN
.
Full text available.bug-coreutils@HIDDEN
:bug#17138
; Package coreutils
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.