The Samba-Bugzilla – Attachment 8148 Details for
Bug 9355
set mask values to 0777 and use fileserver.conf
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
this removes the fileserver.conf file (needed to ensure samba-tool ntacl uses the right parameters)
0001-file_server-put-set-create-mask-and-directory-mask-i.patch (text/plain), 1.19 KB, created by
Andrew Bartlett
on 2012-11-05 06:41:04 UTC
(
hide
)
Description:
this removes the fileserver.conf file (needed to ensure samba-tool ntacl uses the right parameters)
Filename:
MIME Type:
Creator:
Andrew Bartlett
Created:
2012-11-05 06:41:04 UTC
Size:
1.19 KB
patch
obsolete
>From d42482b30632f649a453f12ed979ed1964d61dfe Mon Sep 17 00:00:00 2001 >From: Andrew Bartlett <abartlet@samba.org> >Date: Thu, 1 Nov 2012 11:24:00 +1100 >Subject: [PATCH 1/2] file_server: put set create mask and directory mask in > fileserver.conf > >This allows any ACL to be set from the client, without restriction >from the Samba side. > >Based on advise from Jermey at https://lists.samba.org/archive/samba-technical/2012-October/088414.html > >Andrew Bartlett > >Signed-off-by: Andrew Bartlett <abartlet@samba.org> >Reviewed-by: Michael Adam <obnox@samba.org> >(cherry picked from commit fc5caffbc139d63cab1ec105884863f73772586f) >--- > file_server/file_server.c | 2 ++ > 1 file changed, 2 insertions(+) > >diff --git a/file_server/file_server.c b/file_server/file_server.c >index 0777de5..b78495d 100644 >--- a/file_server/file_server.c >+++ b/file_server/file_server.c >@@ -65,6 +65,8 @@ static const char *generate_smb_conf(struct task_server *task) > fdprintf(fd, "map system = no\n"); > fdprintf(fd, "map readonly = no\n"); > fdprintf(fd, "store dos attributes = yes\n"); >+ fdprintf(fd, "create mask = 0777\n"); >+ fdprintf(fd, "directory mask = 0777\n"); > > fdprintf(fd, "include = %s\n", lpcfg_configfile(lp_ctx)); > >-- >1.7.11.7 >
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
Flags:
obnox
:
review+
Actions:
View
Attachments on
bug 9355
: 8148 |
8149