diff options
Diffstat (limited to 'src/readahead-collect.c')
-rw-r--r-- | src/readahead-collect.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/readahead-collect.c b/src/readahead-collect.c index 4ca6d74726..ea07b3ff49 100644 --- a/src/readahead-collect.c +++ b/src/readahead-collect.c @@ -96,6 +96,9 @@ static int pack_file(FILE *pack, const char *fn, bool on_btrfs) { if (errno == ENOENT) return 0; + if (errno == EPERM || errno == EACCES) + return 0; + log_warning("open(%s) failed: %m", fn); r = -errno; goto finish; |