Skip to content

Windows - zig fmt exits with AccessDenied #5643

@Sobeston

Description

@Sobeston
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 b30642a caused this regression

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugObserved behavior contradicts documented or intended behaviorfrontendTokenization, parsing, AstGen, Sema, and Liveness.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions