diff options
-rw-r--r-- | src/firejail/fs.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/firejail/fs.c b/src/firejail/fs.c index f30e56e8d..b44eb65ee 100644 --- a/src/firejail/fs.c +++ b/src/firejail/fs.c | |||
@@ -530,7 +530,9 @@ static void fs_remount_simple(const char *path, OPERATION op) { | |||
530 | if (fstat(fd, &s) < 0) { | 530 | if (fstat(fd, &s) < 0) { |
531 | // fstat can fail with EACCES if path is a FUSE mount, | 531 | // fstat can fail with EACCES if path is a FUSE mount, |
532 | // mounted without 'allow_root' or 'allow_other' | 532 | // mounted without 'allow_root' or 'allow_other' |
533 | if (errno != EACCES) | 533 | // fstat can also fail with EIO if the underlying FUSE system |
534 | // is being buggy | ||
535 | if (errno != EACCES && errno != EIO) | ||
534 | errExit("fstat"); | 536 | errExit("fstat"); |
535 | close(fd); | 537 | close(fd); |
536 | goto out; | 538 | goto out; |