mesos-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Schwartzmeyer (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MESOS-5881) Semantics of `os::symlink` differ across POSIX and Windows
Date Fri, 07 Apr 2017 19:02:41 GMT

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

Mime
View raw message