Skip to content
Permalink
Browse files

cPanel importer: fix symlink error.

  • Loading branch information...
usmannasir committed Aug 19, 2019
1 parent 97b5bd0 commit 471acf17ea638e7f46c74d66b5f109a42258f652
Showing with 1 addition and 1 deletion.
  1. +1 −1 plogical/cPanelImporter.py
@@ -269,7 +269,7 @@ def CreateMainWebsite(self):
movePath = '%s/homedir/%s' % (
CompletPathToExtractedArchive, self.documentRoot.replace(self.homeDir, '', 1).replace('/', ''))

shutil.copytree(movePath, nowPath)
shutil.copytree(movePath, nowPath, symlinks=True)

command = 'chown -R %s:%s %s' % (externalApp, externalApp, nowPath)
ProcessUtilities.normalExecutioner(command)

0 comments on commit 471acf1

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