diff options
author | Christof Schmitt <cs@samba.org> | 2019-07-17 15:29:06 -0700 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2019-08-26 07:06:18 +0000 |
commit | d186689038c5f807b092f63d7f89fd6b6dd95241 (patch) | |
tree | d5a55aa7f0788e892f5b8c8be4f007160e6bc1d4 /docs-xml | |
parent | 77052fbc65a375dc5a3dda4ac9d212b808ca802f (diff) | |
download | samba-d186689038c5f807b092f63d7f89fd6b6dd95241.tar.gz |
nfs4_acls: Use correct owner information for ACL after owner change
After a chown, the cached stat data is obviously no longer valid. The
code in smb_set_nt_acl_nfs4 checked the file correctly, but did only use
a local buffer for the stat data. So later checks of the stat buffer
under the fsp->fsp_name->st would still see the old information.
Fix this by removing the local stat buffer and always update the one
under fsp->fsp_name->st.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14032
Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
(cherry picked from commit 86f7af84f04b06ed96b30f936ace92aa0937be06)
Diffstat (limited to 'docs-xml')
0 files changed, 0 insertions, 0 deletions