Zig: Windows - zig fmt exits with AccessDenied

Created on 20 Jun 2020  路  2Comments  路  Source: ziglang/zig

PS C:\project\test> Get-Acl .\main.zig


    Directory: C:\project\test


Path     Owner                     Access
----     -----                     ------
main.zig DESKTOP-RRE04JV\Sebastian BUILTIN\Users Allow  Modify, Synchronize...


PS C:\project\test> zig fmt main.zig
main.zig
AccessDenied
PS C:\project\test>

This happens on the latest master build (windows 10 x64), and happens even when in an admin powershell prompt. The build I had before updating (about a week old) did not have this problem.

I would guess that https://github.com/ziglang/zig/commit/b30642a86ae59f9cfe73c8a9ed6e79c3cb5aaa36 caused this regression

bug stage2

Most helpful comment

I will give it a shot in a couple of hours

All 2 comments

Thanks for the report. So far I am unable to reproduce this - is there anyone who can reproduce it willing to take a look?

I will give it a shot in a couple of hours

Was this page helpful?
0 / 5 - 0 ratings