GNU bug report logs - #15173
[cp] --link overrides dereference settings

Previous Next

Package: coreutils;

Reported by: Gian Piero Carrubba <gpiero <at> rm-rf.it>

Date: Fri, 23 Aug 2013 21:55:02 UTC

Severity: normal

Tags: fixed

Merged with 23120

Done: Bernhard Voelker <mail <at> bernhard-voelker.de>

Bug is archived. No further changes may be made.

Full log


Message #65 received at 15173 <at> debbugs.gnu.org (full text, mbox):

From: Gian Piero Carrubba <gpiero <at> rm-rf.it>
To: Bernhard Voelker <mail <at> bernhard-voelker.de>
Cc: Eric Blake <eblake <at> redhat.com>,
 Pádraig Brady <P <at> draigBrady.com>,
 Jim Meyering <jim <at> meyering.net>, 15173 <at> debbugs.gnu.org
Subject: Re: bug#15173: [cp] --link overrides dereference settings
Date: Thu, 7 Nov 2013 08:52:39 +0100
* [Thu, Nov 07, 2013 at 08:07:11AM +0100] Bernhard Voelker:
>> [0] http://debbugs.gnu.org/cgi/bugreport.cgi?bug=15806
>
>Okay, so we're leaving the ground of the GNU extension --link here.

Sure. It's a completely separate matter, just with some interactions 
(will follow-up on that report as soon as I've enough time: did more 
researches but as you noticed the commit history is pretty long and not 
always so linear).

>Anyway, I belief that doing a change aside from this --link patch
>would be quite delicate.

I agree. My point here is that I would avoid modifying the behaviour of 
'-r' (even if it's considered "wrong") while working on '--link', as imo

> -      if (x.recursive)
> +      if (x.recursive && ! x.hard_link)

would do. Well... and also that dereference settings in cp should be 
reorder a bit (but again it doesn't belong here).

Ciao,
Gian Piero.




This bug report was last modified 6 years and 207 days ago.

Previous Next


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