# MoveFileEx can return ACCESS_DENIED · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/6e636064e6d993ebb0eb6ef386f5f19cb8727fe3)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 6e636064e6d993ebb0eb6ef386f5f19cb8727fe3

Requested commit: 6e636064e6d993ebb0eb6ef386f5f19cb8727fe3

Commit: 6e636064e6d993ebb0eb6ef386f5f19cb8727fe3

Tree: 7ed7dafe4b2755cc43f18a6669d42bfded1c6c38

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
MoveFileEx can return ACCESS_DENIED

I observed this on Windows 10, trying to use MoveFileEx with
MOVEFILE_REPLACE_EXISTING | MOVEFILE_WRITE_THROUGH
to overwrite a running executable.

```

## Parents

- [ae3fd86dcc6f39601aa26ce1a6dc51a0db5cbf30](https://git.cafe/gitcafe/zig/commit/ae3fd86dcc6f39601aa26ce1a6dc51a0db5cbf30?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/6e636064e6d993ebb0eb6ef386f5f19cb8727fe3?format=markdown)
