Skip to content
Permalink
Browse files

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

  • Loading branch information...
thisjrodriguez committed Oct 4, 2019
1 parent 271899d commit d8aa9309d572b0aae228b5091e093f261734d408
Showing with 1 addition and 1 deletion.
  1. +1 −1 plogical/cPanelImporter.py
@@ -713,7 +713,7 @@ def FixPermissions(self):
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")

0 comments on commit d8aa930

Please sign in to comment.
You can’t perform that action at this time.