-
Notifications
You must be signed in to change notification settings - Fork 77
Open
Labels
Description
Symlinking on Windows is a priveleged operation. From OCaml's Unix.symlink
documentation.
The other caveat [on windows] is that by default symbolic links are a privileged operation. Administrators will always need to be running elevated (or with UAC disabled) and by default normal user accounts need to be granted the SeCreateSymbolicLinkPrivilege via Local Security Policy (secpol.msc) or via Active Directory.
Unix.has_symlink can be used to check that a process is able to create symbolic links.
Currently, I think the tests can fail because of this. We should only run symlink tests on Windows if we can (i.e. any tests that use Unix.symlink
).