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>
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));