]> git.ipfire.org Git - thirdparty/samba.git/commit
smbd: fix mode being sent to possibly_set_archive v4-22-test
authorSrinivas Rao V <Srinivas.Rao.V@ibm.com>
Thu, 3 Jul 2025 14:19:46 +0000 (10:19 -0400)
committerJule Anger <janger@samba.org>
Thu, 14 Aug 2025 12:32:46 +0000 (12:32 +0000)
commitaf6d23f98919af8f6f802a9cf7410d1d4fb07288
tree6a28ac53cce9d50d351124519ccd0d70f1fa58ae
parent3364797676624aa9367076a69b2daf73870429ba
smbd: fix mode being sent to possibly_set_archive

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15880

possibly_set_archive is being passed smb_fname->st.st_ex_mode.
Inside the function same variable is getting assigned to itself.
Fixed this to send unx_mode to possibly_set_archive.

Signed-off-by: Srinivas Rao V <Srinivas.Rao.V@ibm.com>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
Autobuild-User(master): Günther Deschner <gd@samba.org>
Autobuild-Date(master): Fri Jul 18 22:25:05 UTC 2025 on atb-devel-224

(cherry picked from commit 1d1acebf01902bef3a9ccae23c3be4cacbb777b2)

Autobuild-User(v4-22-test): Jule Anger <janger@samba.org>
Autobuild-Date(v4-22-test): Thu Aug 14 12:32:46 UTC 2025 on atb-devel-224
source3/smbd/open.c