mirror of
https://github.com/samba-team/samba.git
synced 2025-01-08 21:18:16 +03:00
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>
This commit is contained in:
parent
dd60dcf343
commit
fc5caffbc1
@ -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));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user