diff options
-rw-r--r-- | ChangeLog.rst | 7 | ||||
-rw-r--r-- | lib/fuse_lowlevel.c | 2 |
2 files changed, 9 insertions, 0 deletions
diff --git a/ChangeLog.rst b/ChangeLog.rst index 3531761..95a98b0 100644 --- a/ChangeLog.rst +++ b/ChangeLog.rst @@ -1,3 +1,10 @@ +Unreleased Changes +================== + +* Fixed support for `FUSE_CAP_POSIX_ACL`: setting this capability + flag had no effect in the previous versions of libfuse 3.x; + now ACLs should actually work. + libfuse 3.1.1 (2017-08-06) ========================== diff --git a/lib/fuse_lowlevel.c b/lib/fuse_lowlevel.c index ccdb5a5..34bff00 100644 --- a/lib/fuse_lowlevel.c +++ b/lib/fuse_lowlevel.c @@ -1981,6 +1981,8 @@ static void do_init(fuse_req_t req, fuse_ino_t nodeid, const void *inarg) outarg.flags |= FUSE_ASYNC_DIO; if (se->conn.want & FUSE_CAP_WRITEBACK_CACHE) outarg.flags |= FUSE_WRITEBACK_CACHE; + if (se->conn.want & FUSE_CAP_POSIX_ACL) + outarg.flags |= FUSE_POSIX_ACL; outarg.max_readahead = se->conn.max_readahead; outarg.max_write = se->conn.max_write; if (se->conn.proto_minor >= 13) { |