[Bug 254489] Command 'ln -sfF' behaves unreasonably: it deletes the target directory and then fails

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Mar 22 22:38:36 UTC 2021


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254489

--- Comment #3 from Yuri Victorovich <yuri at freebsd.org> ---
There is an ambiguity here: target_file vs. target of the link.

When the user specifies "-F" he means "target of the link" (the object being
created). IMO a correct fix here is to fix ln(1) to apply "-F" to the "target
of the link", and to correct the manpage accordingly.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list