[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)

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Mar 23 00:02:07 UTC 2021


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

--- Comment #5 from Yuri Victorovich <yuri at freebsd.org> ---
> [...] to prevent commands such as `ln -sfF foo .` which would mean that the current working directory has to be deleted if it's empty

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

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


More information about the freebsd-bugs mailing list