GNU bug report logs - #28927
ln -fs dir name doesn't force

Previous Next

Package: coreutils;

Reported by: "Sven C. Dack" <sven.c.dack <at> sky.com>

Date: Sat, 21 Oct 2017 18:37:01 UTC

Severity: normal

Tags: notabug

Done: Assaf Gordon <assafgordon <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Andreas Schwab <schwab <at> linux-m68k.org>
To: "Sven C. Dack" <sven.c.dack <at> sky.com>
Cc: 28927 <at> debbugs.gnu.org
Subject: bug#28927: ln -fs dir name doesn't force
Date: Sat, 21 Oct 2017 20:53:19 +0200
On Okt 21 2017, "Sven C. Dack" <sven.c.dack <at> sky.com> wrote:

> The link should have been set to "bar" with the "-f" or "--force" option,
> shouldn't it?

The file baz/bar has been overwritten.  You need to use -n if you want
to overwrite a link to a directory.

Andreas.

-- 
Andreas Schwab, schwab <at> linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




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

Previous Next


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