diff --git a/src/fuse_open.cpp b/src/fuse_open.cpp index 850b745e..7eea1c1c 100644 --- a/src/fuse_open.cpp +++ b/src/fuse_open.cpp @@ -57,7 +57,7 @@ namespace l if(rv == -1) return (errno=EACCES,-1); - if(StatUtil::writable_or_not_empty(st)) + if(StatUtil::writable(st)) return (errno=EACCES,-1); rv = fs::chmod(fullpath_,(st.st_mode|S_IWUSR|S_IWGRP));