pastebin - collaborative debugging tool
nrubsig.kpaste.net RSS


Fix for setacl failure
Posted by Anonymous on Tue 25th Jun 2024 16:33
raw | new post
modification of post by Anonymous (view diff)

  1. diff --git a/daemon/acl.c b/daemon/acl.c
  2. index 0725e24..182b6d5 100644
  3. --- a/daemon/acl.c
  4. +++ b/daemon/acl.c
  5. @@ -1081,6 +1081,12 @@ static int map_dacl_2_nfs4acl(PACL acl, PSID sid, PSID gsid, nfsacl41 *nfs4_acl,
  6.                  file_type, named_attr_support,
  7.                  &nfs4_acl->aces[i].acemask);
  8.  
  9. +#if 1
  10. +            if (nfs4_acl->aces[i].aceflag & ACE4_INHERITED_ACE) {
  11. +                nfs4_acl->aces[i].aceflag &= ~ACE4_INHERITED_ACE;
  12. +                DPRINTF(ACLLVL3, ("clearning ACE4_INHERITED_ACE\n"));
  13. +            }
  14. +#endif
  15.              /*
  16.               * Treat |SidTypeAlias| as (local) group
  17.               *

Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.

Syntax highlighting:

To highlight particular lines, prefix each line with {%HIGHLIGHT}




All content is user-submitted.
The administrators of this site (kpaste.net) are not responsible for their content.
Abuse reports should be emailed to us at