Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Mar 2021 20:44:52 +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@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254489

            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@FreeBSD.org
          Reporter: yuri@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

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