Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use SYMBOLIC_LINK_FLAG_ALLOW_UNPRIVILEGED_CREATE flag for symlink functions #35

Open
darealshinji opened this issue Nov 27, 2023 · 1 comment

Comments

@darealshinji
Copy link

Shouldn't the symlink() functions in MsvcLibX use the SYMBOLIC_LINK_FLAG_ALLOW_UNPRIVILEGED_CREATE flag?
I always need to add this to the flags of CreateSymbolicLink to create links as normal user.

@JFLarvoire
Copy link
Owner

Sounds like a good idea. Please go ahead and submit a pull request!
Also we must add a definition for the flag if needed, so that the library still builds for XP and older versions of Windows, and apps built with it use the flag when run in recent versions of Windows that support it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants