diff --git a/src/fuse_open.cpp b/src/fuse_open.cpp index 41fff404..8cd52f97 100644 --- a/src/fuse_open.cpp +++ b/src/fuse_open.cpp @@ -271,6 +271,8 @@ namespace FUSE const fuse_context *fc = fuse_get_context(); const ugid::Set ugid(fc->uid,fc->gid); + ffi_->flags |= O_RDWR; + l::config_to_ffi_flags(cfg,fc->pid,ffi_); if(cfg->writeback_cache)