GNU bug report logs -
#28927
ln -fs dir name doesn't force
Previous Next
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.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 28927 in the body.
You can then email your comments to 28927 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-coreutils <at> gnu.org
:
bug#28927
; Package
coreutils
.
(Sat, 21 Oct 2017 18:37:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
"Sven C. Dack" <sven.c.dack <at> sky.com>
:
New bug report received and forwarded. Copy sent to
bug-coreutils <at> gnu.org
.
(Sat, 21 Oct 2017 18:37:01 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hello,
I've noticed the -f or --force option of ln doesn't seem to work.
$ ln --version
ln (GNU coreutils) 8.28
Copyright (C) 2017 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by Mike Parker and David MacKenzie.
$ mkdir foo bar
$ ln -s foo baz
$ ls -l baz
lrwxrwxrwx 1 sven sven 3 Oct 21 19:15 baz -> foo
$ ln -fs bar baz
$ ls -l baz
lrwxrwxrwx 1 sven sven 3 Oct 21 19:15 baz -> foo
$ ln --force -s bar baz
$ ls -l baz
lrwxrwxrwx 1 sven sven 3 Oct 21 19:15 baz -> foo
$
The link should have been set to "bar" with the "-f" or "--force"
option, shouldn't it?
Cheers
Information forwarded
to
bug-coreutils <at> gnu.org
:
bug#28927
; Package
coreutils
.
(Sat, 21 Oct 2017 18:54:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 28927 <at> debbugs.gnu.org (full text, mbox):
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."
Information forwarded
to
bug-coreutils <at> gnu.org
:
bug#28927
; Package
coreutils
.
(Tue, 30 Oct 2018 01:32:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 28927 <at> debbugs.gnu.org (full text, mbox):
tags 28927 notabug
close 28927
stop
(triaging old bugs)
On 2017-10-21 12:53 p.m., Andreas Schwab wrote:
> 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.
>
Given the above, and no further comments in a year,
I'm closing this bug.
-assaf
Added tag(s) notabug.
Request was from
Assaf Gordon <assafgordon <at> gmail.com>
to
control <at> debbugs.gnu.org
.
(Tue, 30 Oct 2018 01:32:02 GMT)
Full text and
rfc822 format available.
bug closed, send any further explanations to
28927 <at> debbugs.gnu.org and "Sven C. Dack" <sven.c.dack <at> sky.com>
Request was from
Assaf Gordon <assafgordon <at> gmail.com>
to
control <at> debbugs.gnu.org
.
(Tue, 30 Oct 2018 01:32:03 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Tue, 27 Nov 2018 12:24:06 GMT)
Full text and
rfc822 format available.
This bug report was last modified 5 years and 148 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.