mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
dynconfig: Change permission of the private dir to 0700
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12957 Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlet <abartlet@samba.org>
This commit is contained in:
parent
f8b491fac4
commit
47c039792a
@ -418,7 +418,7 @@ def build(bld):
|
||||
bld.INSTALL_DIR("${CONFIGDIR}")
|
||||
bld.INSTALL_DIR("${LOGFILEBASE}")
|
||||
bld.INSTALL_DIR("${PRIVILEGED_SOCKET_DIR}")
|
||||
bld.INSTALL_DIR("${PRIVATE_DIR}")
|
||||
bld.INSTALL_DIR("${PRIVATE_DIR}", 0o700)
|
||||
bld.INSTALL_DIR("${STATEDIR}")
|
||||
bld.INSTALL_DIR("${CACHEDIR}")
|
||||
|
||||
|
@ -2065,7 +2065,7 @@ def provision(logger, session_info, smbconf=None,
|
||||
serverrole = lp.get("server role")
|
||||
|
||||
if not os.path.exists(paths.private_dir):
|
||||
os.mkdir(paths.private_dir)
|
||||
os.mkdir(paths.private_dir, 0o700)
|
||||
if not os.path.exists(os.path.join(paths.private_dir, "tls")):
|
||||
os.makedirs(os.path.join(paths.private_dir, "tls"), 0700)
|
||||
if not os.path.exists(paths.state_dir):
|
||||
|
Loading…
Reference in New Issue
Block a user