diff options
author | Nikolaus Rath <Nikolaus@rath.org> | 2016-11-22 15:15:05 -0800 |
---|---|---|
committer | Nikolaus Rath <Nikolaus@rath.org> | 2016-11-22 15:15:05 -0800 |
commit | e16fdc06d7473f00499b6b03fb7bd06259a22135 (patch) | |
tree | 7f2ccdd78f0190b0df5ba37d1c12f340e21c70d8 /include | |
parent | 3296ad988ddb59eb7bbac21b9f67d60cf38ca6bf (diff) |
Add support for FUSE_POSIX_ACL
Fixes #117.
Diffstat (limited to 'include')
-rw-r--r-- | include/fuse_common.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/include/fuse_common.h b/include/fuse_common.h index 7bf8008..f336129 100644 --- a/include/fuse_common.h +++ b/include/fuse_common.h @@ -253,6 +253,21 @@ struct fuse_file_info { #define FUSE_CAP_PARALLEL_DIROPS (1 << 18) /** + * Indicates support for POSIX ACL. + * + * If this feature is enabled, the kernel will cache and have + * responsibility for enforcing ACLs. ACL will be stored as xattrs and + * passed to userspace, which is responsible for updating the ACLs in + * the filesystem, keeping the file mode in sync with the ACL, and + * ensuring inheritance of default ACLs when new filesystem nodes are + * created. Note that this requires that the file system is able to + * parse and interpret the xattr representation of ACLs. + * + * This feature is disabled by default. + */ +#define FUSE_CAP_POSIX_ACL (1 << 19) + +/** * Ioctl flags * * FUSE_IOCTL_COMPAT: 32bit compat ioctl on 64bit machine |