GNU bug report logs - #17103
cp: "cp -al" doesn't copy symlinks, tries to link to them

Previous Next

Package: coreutils;

Reported by: Linda Walsh <coreutils <at> tlinx.org>

Date: Wed, 26 Mar 2014 18:09:01 UTC

Severity: normal

Full log


View this message in rfc822 format

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Linda Walsh <coreutils <at> tlinx.org>
Cc: 17103 <at> debbugs.gnu.org
Subject: bug#17103: regression: cp -al doesn't copy symlinks, but tries to link to them (fail)
Date: Wed, 26 Mar 2014 17:57:57 -0700
Linda Walsh wrote:
> if for some reason a symlink
> cannot be linked to, then the symlink should be copied (not what
> the symlink is pointing to, but the actual contents of the symlink
> inode -- i.e. the redirection path).

Sure, but that's asking for different functionality than what's 
documented, and it's possible that others are relying on the documented 
behavior, so it's not clear how to proceed here.  Perhaps cp needs yet 
another option.  I hope not.




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

Previous Next


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