Update index.py

This commit is contained in:
dami 2025-11-13 01:25:42 +08:00
parent 16e35935f9
commit 45ff09dadb
1 changed files with 1 additions and 0 deletions

View File

@ -596,6 +596,7 @@ def makeLsyncdConf(data):
cmd_exclude_txt += x + "\n"
mw.writeFile(cmd_exclude, cmd_exclude_txt)
cmd_pass = name_dir + "/pass"
mw.execShell("chmod 755 " + cmd_pass)
mw.writeFile(cmd_pass, t['password'])
mw.execShell("chmod 600 " + cmd_pass)