diff options
-rwxr-xr-x | mklog.py | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -104,6 +104,8 @@ def make_certs(logname, nodenames): shutil.copy(ca_cert, '../nodes/%s/cacert.pem' % nodename) shutil.copy(cert, '../nodes/%s/webcert-%s.pem' % (nodename, nodename)) shutil.copy(key, '../nodes/%s/webkey-%s.pem' % (nodename, nodename)) + os.chmod('../nodes/%s/webkey-%s.pem' % (nodename, nodename), + stat.S_IRUSR | stat.S_IWUSR) os.chdir('..') return True |