From 7c4f14a7db11c3189a09f70153fd6c5910fb7080 Mon Sep 17 00:00:00 2001 From: Antonio SJ Musumeci Date: Sun, 7 Apr 2024 15:51:16 -0500 Subject: [PATCH] fuse_open.cpp --- src/fuse_open.cpp | 2 ++ 1 file changed, 2 insertions(+) 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)