summaryrefslogtreecommitdiffstats
path: root/sound/arm
diff options
context:
space:
mode:
authorRonnie Sahlberg <lsahlber@redhat.com>2022-02-14 08:40:52 +1000
committerSteve French <stfrench@microsoft.com>2022-02-14 09:55:51 -0600
commit0c6f4ebf8835d01866eb686d47578cde80097981 (patch)
tree5357b5d60233f486223cfc095d059a813b73cc51 /sound/arm
parent3d6cc9898efdfb062efb74dc18cfc700e082f5d5 (diff)
downloadlinux-0c6f4ebf8835d01866eb686d47578cde80097981.tar.gz
linux-0c6f4ebf8835d01866eb686d47578cde80097981.tar.bz2
linux-0c6f4ebf8835d01866eb686d47578cde80097981.zip
cifs: modefromsids must add an ACE for authenticated users
When we create a file with modefromsids we set an ACL that has one ACE for the magic modefromsid as well as a second ACE that grants full access to all authenticated users. When later we chante the mode on the file we strip away this, and other, ACE for authenticated users in set_chmod_dacl() and then just add back/update the modefromsid ACE. Thus leaving the file with a single ACE that is for the mode and no ACE to grant any user any rights to access the file. Fix this by always adding back also the modefromsid ACE so that we do not drop the rights to access the file. Signed-off-by: Ronnie Sahlberg <lsahlber@redhat.com> Reviewed-by: Shyam Prasad N <sprasad@microsoft.com> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'sound/arm')
0 files changed, 0 insertions, 0 deletions