# Directory iteration: handle \`EACCES\` returned from \`getdents64\` · gitcafe/zig

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

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

Visibility: public

Requested revision: 7555085e6304419c25bb870567eb265bb22d0337

Requested commit: 7555085e6304419c25bb870567eb265bb22d0337

Commit: 7555085e6304419c25bb870567eb265bb22d0337

Tree: 1a4c46fc3415aac4dbab75cfe757bece67683ace

Author: Ryan Liptak

Committer: Ryan Liptak

## Message

```
Directory iteration: handle `EACCES` returned from `getdents64`

This can occur for directories that the user does not have the necessary permissions to be able to iterate.

```

## Parents

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

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