mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-14 17:26:17 +01:00
bug fix: some permissions during backup restore
This commit is contained in:
@@ -849,7 +849,11 @@ class backupUtilities:
|
|||||||
|
|
||||||
installUtilities.reStartLiteSpeed()
|
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)
|
cmd = shlex.split(command)
|
||||||
subprocess.call(cmd)
|
subprocess.call(cmd)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user