local: Ignore files in intermediate folders

For example the data folder of a repository might contain hidden files
which caused list operations to fail.
This commit is contained in:
Michael Eischer
2021-02-27 00:02:13 +01:00
parent 8eb6a5805b
commit a293fd9aef
2 changed files with 18 additions and 3 deletions

View File

@@ -0,0 +1,8 @@
Bugfix: Fix `fdopendir: not a directory` error for local backend
The `check`, `list packs`, `prune` and `rebuild-index` commands failed
for the local backend when the `data` folder in the repository contained
files. This has been fixed.
https://github.com/restic/restic/issues/3302
https://github.com/restic/restic/pull/3308