Skip to content

Commit

Permalink
cPanel importer: fix symlink error.
Browse files Browse the repository at this point in the history
  • Loading branch information
usmannasir committed Aug 19, 2019
1 parent 97b5bd0 commit 471acf1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plogical/cPanelImporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 471acf1

Please sign in to comment.