printing received nfs4 access mask
This commit is contained in:
parent
7f5f903b0a
commit
48081b9f00
1 changed files with 1 additions and 0 deletions
|
|
@ -221,6 +221,7 @@ static int convert_nfs4acl_2_dacl(nfsacl41 *acl, int file_type,
|
||||||
for (i = 0; i < acl->count; i++) {
|
for (i = 0; i < acl->count; i++) {
|
||||||
// nfs4 acemask should be exactly the same as file access mask
|
// nfs4 acemask should be exactly the same as file access mask
|
||||||
mask = acl->aces[i].acemask;
|
mask = acl->aces[i].acemask;
|
||||||
|
dprintf(1, "access mask %x\n", mask);
|
||||||
if (acl->aces[i].acetype == ACE4_ACCESS_ALLOWED_ACE_TYPE) {
|
if (acl->aces[i].acetype == ACE4_ACCESS_ALLOWED_ACE_TYPE) {
|
||||||
status = AddAccessAllowedAce(dacl, ACL_REVISION, mask, sids[i]);
|
status = AddAccessAllowedAce(dacl, ACL_REVISION, mask, sids[i]);
|
||||||
if (!status) {
|
if (!status) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue