Commit 0cc7e99e authored by Ad Schellevis's avatar Ad Schellevis

(Captiveportal, new) missing chmod in user template deploy

parent 67415c33
......@@ -55,6 +55,7 @@ if len(sys.argv) > 1:
os.makedirs(file_target_directory)
with open(target_filename, 'wb') as f_out:
f_out.write(zf_in.read(zf_info.filename))
os.chmod(target_filename, 0444)
# write zone settings
filename ='%sjs/zone.js' % target_directory
with open(filename, 'wb') as f_out:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment