[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 20:44:52 UTC 2021


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

            Bug ID: 254489
           Summary: Command 'ln -sfF' behaves unreasonably: it deletes the
                    target directory and then fails
           Product: Base System
           Version: 12.2-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs at FreeBSD.org
          Reporter: yuri at freebsd.org

Command:
> mkdir -p .x
> ln -sfF /bin/ls .x/

fails:
> ln: .x/: No such file or directory

The expected result is to create a symlink .x/ls -> /bin/ls

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


More information about the freebsd-bugs mailing list