diff --git a/src/rofiles-fuse/main.c b/src/rofiles-fuse/main.c index 0b0e6a37..bdf7ffb8 100644 --- a/src/rofiles-fuse/main.c +++ b/src/rofiles-fuse/main.c @@ -261,7 +261,7 @@ can_write (const char *path) else return -errno; } - if (devino_set_contains (stbuf.st_dev, stbuf.st_ino)) + if (!devino_set_contains (stbuf.st_dev, stbuf.st_ino)) return -EROFS; return 0; }