Date: Mon, 22 Mar 2021 22:38:36 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 254489] Command 'ln -sfF' behaves unreasonably: it deletes the target directory and then fails Message-ID: <bug-254489-227-RSuPxD7VRe@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-254489-227@https.bugs.freebsd.org/bugzilla/> References: <bug-254489-227@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254489 --- Comment #3 from Yuri Victorovich <yuri@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 "targ= et of the link", and to correct the manpage accordingly. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-254489-227-RSuPxD7VRe>