Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Mar 2021 00:02:07 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 254489] ln(1) should apply -F to the file being created, not target_file (was command 'ln -sfF' behaves unreasonably: it deletes the target directory and then fails)
Message-ID:  <bug-254489-227-XyarIwvAtQ@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 #5 from Yuri Victorovich <yuri@freebsd.org> ---
> [...] to prevent commands such as `ln -sfF foo .` which would mean that t=
he current working directory has to be deleted if it's empty

ln(1) can make exceptions for corner cases like this.

--=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-XyarIwvAtQ>