diff options
| author | Ralph Boehme <slow@samba.org> | 2026-06-07 15:23:18 +0200 |
|---|---|---|
| committer | Steve French <stfrench@microsoft.com> | 2026-06-24 10:33:51 -0500 |
| commit | 760ef2c579c2609cf17fb1cd5392f64d42d43d33 (patch) | |
| tree | f837895cb6838e2bd0cdd732017041fb5e227478 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 4939889c985da68936090cc013e58c28b7bff34f (diff) | |
smb/client: fix chown/chgrp with SMB3 POSIX Extensions
Ownership (chown) and group (chgrp) modifications were being ignored when
mounting with SMB3 POSIX Extensions unless CIFS_MOUNT_CIFS_ACL or
CIFS_MOUNT_MODE_FROM_SID were also explicitly set.
Fix this by checking for posix_extensions in cifs_setattr_nounix() when
updating UID and GID, ensuring that id_mode_to_cifs_acl() is called to map
and set the ownership/group information on the server.
Cc: stable@vger.kernel.org
Signed-off-by: Ralph Boehme <slow@samba.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
