bug fix: some permissions during backup restore

This commit is contained in:
Usman Nasir
2020-03-04 23:19:13 +05:00
parent 1da562450c
commit c9e11fd7b0

View File

@@ -849,7 +849,11 @@ class backupUtilities:
installUtilities.reStartLiteSpeed()
command = "chown -R " + externalApp + ":" + externalApp + " " + websiteHome
command = "chown -R " + externalApp + ":nobody" " " + websiteHome
cmd = shlex.split(command)
subprocess.call(cmd)
command = 'chmod 750 %s' % (websiteHome)
cmd = shlex.split(command)
subprocess.call(cmd)