[RFC v3 0/2] Support for posix acls in fuse

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have some updates from the pervious RFC patch for adding posix acl
support into fuse. Here's a high-level summary of the changes:

 - Split out changes to use xattr handlers into a separate patch.
 - Split out xattr and acl code into their own files, as dir.c was
   becoming rather long.
 - Add a CONFIG_FUSE_FS_POSIX_ACL config option.
 - Add some pieces that were missing for default acls.
 - Bug fixes.
 - Remove passthrough of acl xattrs when fuse acl support is disabled or
   default_permissions is not used.

This last change is user visible, but as fuse filesystems cannot
meaninfully support acls today it's not really a regression.

There's also a problem with default acls that I'm not sure there's
currently a solution for. As far as I can tell FUSE_CREATE doesn't give
back any indication of whether an existing file was opened or a new file
was created. Without knowing that I cannot know whether or not the inode
should inherit default acls from its parent. Is there any way I can tell
whether or not FUSE_CREATE created a new object?

Thanks,
Seth

Seth Forshee (2):
  fuse: Use generic xattr ops
  fuse: Add posix acl support

 fs/fuse/Kconfig  |  13 ++++
 fs/fuse/Makefile |   2 +-
 fs/fuse/acl.c    | 200 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 fs/fuse/dir.c    | 195 ++++++++++-------------------------------------------
 fs/fuse/fuse_i.h |  34 ++++++++++
 fs/fuse/inode.c  |   3 +
 fs/fuse/xattr.c  | 186 +++++++++++++++++++++++++++++++++++++++++++++++++++
 7 files changed, 474 insertions(+), 159 deletions(-)
 create mode 100644 fs/fuse/acl.c
 create mode 100644 fs/fuse/xattr.c

--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux