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


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

From: Linda Walsh <coreutils <at> tlinx.org>
To: Kees Cook <keescook <at> google.com>
Cc: 17103 <at> debbugs.gnu.org, Pádraig Brady <P <at> draigbrady.com>
Subject: Re: bug#17103: regression: cp -al doesn't copy symlinks,
 but tries to link to them (fail)
Date: Thu, 27 Mar 2014 18:56:19 -0700

Kees Cook wrote:

> Regardless of the outcome for "cp", it seems like turning off this
> restriction on the system you're doing this on would be the best
> short-term solution. It sounds like you're not using a Debian or
> Ubuntu system which carries defaults in /etc/sysctl.d/ files. 
----
	That where the user's mods can go.  There are 6 other
locations w/5 of those being directories to check.  Found the
culprit in /usr/lib/sysctl.d/50-defaults (comment inside was
'distribution defaults').

	So opensuse went with the other lemmings... and made it
a default. Have already reviewed and expunged unwanted settings.


Fedora's
> systemd likes to put defaults into /lib/sysctl.d, if that helps you
> track it down. I think systemd recognizes /etc/sysctl.d for overriding
> settings in /lib/sysctl.d, so you might be able to set it there
> instead.
----
	You might find they are moving it to /usr/lib as well --
supposedly that's why suse is doing it.





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

Previous Next


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