Re: Does aufs support POSIX ACLs

2018-07-24 Thread hooanon05g
Qian Zhang:
> I see there is a field "version:3.13-20140303", this should be the
> version of the installed aufs, right?

Probably you are right.
But I am not sure whether ubuntu people changed the aufs source files
with the version string unchanged.
If it is really 20140303, then it means your aufs module doesn't support
acls.


J. R. Okajima

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot


Re: Does aufs support POSIX ACLs

2018-07-24 Thread Qian Zhang
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

Re: Does aufs support POSIX ACLs

2018-07-24 Thread hooanon05g
Qian Zhang:
> And can you please let me know how to know the version of the aufs that I
> have installed on my Ubuntu 14.04 machine? I can see "nodev   aufs"
> in /proc/filesystems, but I am not sure the version of it.

The basic way is the version string printed at loading aufs module.
But, in ubuntu, it may not be reliable I am afraid, since ubuntu people
may change the aufs source files while keeping the version string.
The best way for such case is,
- obtain your ubuntu kernel source files.
- find where aufs source files are placed.
- compare the source files with the official released ones.


J. R. Okajima

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot


Re: Does aufs support POSIX ACLs

2018-07-24 Thread Qian Zhang
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

Re: Does aufs support POSIX ACLs

2018-07-24 Thread hooanon05g
Hello Qian,

Qian Zhang:
> Can anyone please let me know if aufs supports POSIX ACLs (i.e., run the
> command "setfacl" to set ACL for file/directory)? If the answer is yes,
> then which version of aufs supports it?

It is supported since the version aufs3.9 20141208.

9f0b20e 2014-12-07 aufs3.9 20141208
4ae64b4 2014-12-06 aufs standalone: new config XATTR
5ecf5fc 2014-12-06 aufs modular: new config XATTR
ea0e18b 2014-12-06 aufs: xattr 10/10, config and build
470a400 2014-12-06 aufs: xattr 9/10, some filesystems don't list POSIX ACL
ef6b594 2014-12-05 aufs: xattr 8/10, au_cpup_xattr()
ae244b4 2014-12-05 aufs: xattr 7/10, branch attributes to ignore the error 
about xattr
f24ae0c 2014-12-05 aufs: xattr 6/10, aufs_setxattr() and aufs_removexattr()
acffe3e 2014-12-05 aufs: xattr 5/10, prepare au_pin_and_icpup()
bbea82e 2014-12-05 aufs: xattr 4/10, make au_reval_for_attr() public
783be8d 2014-12-05 aufs: xattr 3/10, aufs_listxattr() and aufs_getxattr()
4a47bf2 2014-12-05 aufs: xattr 2/10, split aufs_getattr()
491ee29 2014-12-05 aufs: xattr 1/10, design document
5d15f18 2014-12-05 aufs: new options acl and noacl

I don't know whether ubuntu people enables the necessary configutarion,
but I'd suggest you to confirm these requirements.

- CONFIG_AUFS_XATTR, CONFIG_FS_POSIX_ACL and a mount option 'acl'
- branch fs has to support EA/XATTR too, obviously.
- choose "icex" branch attributes in order to work the internal
  (copy,move)-(up,down) correctly.


J. R. Okajima

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot