You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if run in non-elevated context cmd.exe throw Error // Error: EPERM: operation not permitted, symlink 'i' -> 'o'
run in elevated context cmd.exe by admin is ok
How often does it reproduce? Is there a required condition?
No response
What is the expected behavior? Why is that the expected behavior?
fs.symlinkSync run in non-elevated context cmd.exe is ok
mklink does not require administrator privileges to execute on Windows cmd.
What do you see instead?
Error: EPERM: operation not permitted, symlink 'i' -> 'o'`
Additional information
I found this closed issue, but the problem has not been resolved. #18518
The text was updated successfully, but these errors were encountered:
lqzhgood
changed the title
Creating symbolic links on the Windows requires running with administrator privileges.
fs.symlink requires administrator privileges on Windows
Apr 29, 2023
VoltrexKeyva
added
fs
Issues and PRs related to the fs subsystem / file system.
windows
Issues and PRs related to the Windows platform.
labels
Apr 29, 2023
Version
20.0.0
Platform
Microsoft Windows NT 10.0.22621.0 x64
Subsystem
No response
What steps will reproduce the bug?
if run in
non-elevated context
cmd.exe throw Error// Error: EPERM: operation not permitted, symlink 'i' -> 'o'
run in
elevated context
cmd.exe by admin is okHow often does it reproduce? Is there a required condition?
No response
What is the expected behavior? Why is that the expected behavior?
fs.symlinkSync
run innon-elevated context
cmd.exe is okmklink
does not require administrator privileges to execute on Windows cmd.What do you see instead?
Error: EPERM: operation not permitted, symlink 'i' -> 'o'`
Additional information
I found this closed issue, but the problem has not been resolved.
#18518
The text was updated successfully, but these errors were encountered: