summaryrefslogtreecommitdiff
path: root/file_server/file_server.c
diff options
context:
space:
mode:
Diffstat (limited to 'file_server/file_server.c')
-rw-r--r--file_server/file_server.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/file_server/file_server.c b/file_server/file_server.c
index 0777de5765..b78495dd01 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));