The Samba-Bugzilla – Attachment 18658 Details for
Bug 15880
SMB ACL inheritance doesn't work for files created
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
unx_mode variable is set correctly with variable smb_fname->st.st_ex_mode
0001-smbd-fix-mode-being-sent-to-possibly_set_archive.patch (text/plain), 897 bytes, created by
Srinivas Rao V
on 2025-07-07 08:10:33 UTC
(
hide
)
Description:
unx_mode variable is set correctly with variable smb_fname->st.st_ex_mode
Filename:
MIME Type:
Creator:
Srinivas Rao V
Created:
2025-07-07 08:10:33 UTC
Size:
897 bytes
patch
obsolete
>From d822c1e60d03884ea37f815a9836eb3abeb6a4c2 Mon Sep 17 00:00:00 2001 >From: Srinivas Rao V <Srinivas.Rao.V@ibm.com> >Date: Thu, 3 Jul 2025 10:19:46 -0400 >Subject: [PATCH] smbd: fix mode being sent to possibly_set_archive > >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. >--- > source3/smbd/open.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/source3/smbd/open.c b/source3/smbd/open.c >index 3ffcfa3..e50b6b6 100644 >--- a/source3/smbd/open.c >+++ b/source3/smbd/open.c >@@ -4255,7 +4255,7 @@ static NTSTATUS open_file_ntcreate(connection_struct *conn, > parent_dir_fname, > info, > new_dos_attributes, >- &smb_fname->st.st_ex_mode); >+ &unx_mode); > > /* Determine sparse flag. */ > if (posix_open) { >-- >1.8.3.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 15880
: 18658 |
18673
|
18674