bug fix: owner:group from logs, dont write access&errors

This commit is contained in:
Julio Rodríguez Cruz
2019-10-05 00:12:10 +02:00
parent 271899da1a
commit d8aa9309d5

View File

@@ -713,7 +713,7 @@ class cPanelImporter:
command = "sudo chown -R " + externalApp + ":" + externalApp + " /home/" + self.mainDomain
ProcessUtilities.normalExecutioner(command)
command = "sudo chown -R lscpd:lscpd /home/" + self.mainDomain + "/logs"
command = "sudo chown -R root:nobody /home/" + self.mainDomain + "/logs"
ProcessUtilities.normalExecutioner(command)
command = "sudo find %s -type d -exec chmod 0755 {} \;" % ("/home/" + self.mainDomain + "/public_html")