Re: [RFC v7 27/41] richacl: Create richacl from mode values

2015-09-23 Thread J. Bruce Fields
On Sat, Sep 05, 2015 at 12:27:22PM +0200, Andreas Gruenbacher wrote: > A file can have "no acl" in the sense that only the file mode permission > bits determine access. In that case, the getxattr system call fails with > errno == ENODATA (No such attribute). > > Over the NFSv4 protocol, a file al

[RFC v7 27/41] richacl: Create richacl from mode values

2015-09-05 Thread Andreas Gruenbacher
A file can have "no acl" in the sense that only the file mode permission bits determine access. In that case, the getxattr system call fails with errno == ENODATA (No such attribute). Over the NFSv4 protocol, a file always has an acl, and we convert the file mode permission bits into an equivalen