Skip to content

Commit

Permalink
bug fix: owner:group from logs, dont write access&errors
Browse files Browse the repository at this point in the history
  • Loading branch information
thisjrodriguez committed Oct 4, 2019
1 parent 271899d commit d8aa930
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plogical/cPanelImporter.py
Expand Up @@ -713,7 +713,7 @@ def FixPermissions(self):
command = "sudo chown -R " + externalApp + ":" + externalApp + " /home/" + self.mainDomain command = "sudo chown -R " + externalApp + ":" + externalApp + " /home/" + self.mainDomain
ProcessUtilities.normalExecutioner(command) 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) ProcessUtilities.normalExecutioner(command)


command = "sudo find %s -type d -exec chmod 0755 {} \;" % ("/home/" + self.mainDomain + "/public_html") command = "sudo find %s -type d -exec chmod 0755 {} \;" % ("/home/" + self.mainDomain + "/public_html")
Expand Down

0 comments on commit d8aa930

Please sign in to comment.