cifs: allow chmod to set mode bits using special sid

When mounting with "modefromsid" set mode bits (chmod) by
    adding ACE with special SID (S-1-5-88-3-<mode>) to the ACL.
    Subsequent patch will fix setting default mode on file
    create and mkdir.

    See See e.g.
        https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2008-R2-and-2008/hh509017(v=ws.10)

Signed-off-by: Steve French <stfrench@microsoft.com>
This commit is contained in:
Steve French 2019-07-19 08:15:55 +00:00
commit 22442179a5
2 changed files with 41 additions and 7 deletions