You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Andrew Schwartzmeyer (JIRA)" <ji...@apache.org> on 2017/04/07 19:02:41 UTC

[jira] [Commented] (MESOS-5881) Semantics of `os::symlink` differ across POSIX and Windows

    [ https://issues.apache.org/jira/browse/MESOS-5881?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15961293#comment-15961293 ] 

Andrew Schwartzmeyer commented on MESOS-5881:
---------------------------------------------

We need to confirm that you really cannot use any system API to create a broken symlink; I was fairly certain this is possible to do on Windows (I thought I fixed PowerShell to support it), but now I need to research it.

> Semantics of `os::symlink` differ across POSIX and Windows
> ----------------------------------------------------------
>
>                 Key: MESOS-5881
>                 URL: https://issues.apache.org/jira/browse/MESOS-5881
>             Project: Mesos
>          Issue Type: Bug
>          Components: stout
>            Reporter: Alex Clemmer
>            Assignee: Li Li
>              Labels: mesosphere, stout, windows
>
> This issue causes the following tests to fail on Windows:
> * RmdirTest.RemoveDirectoryWithNoTargetSymbolicLink
> * OsTest.Realpath
> On most POSIX implementations, it is possible to create a symlink with a target that does not exist. On Windows, attempting to create a symlink pointing to a target that does not exist will cause a runtime failure.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)