From 471acf17ea638e7f46c74d66b5f109a42258f652 Mon Sep 17 00:00:00 2001 From: Usman Nasir Date: Tue, 20 Aug 2019 02:50:35 +0500 Subject: [PATCH] cPanel importer: fix symlink error. --- plogical/cPanelImporter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plogical/cPanelImporter.py b/plogical/cPanelImporter.py index 6f1075c39..3c038f380 100644 --- a/plogical/cPanelImporter.py +++ b/plogical/cPanelImporter.py @@ -269,7 +269,7 @@ class cPanelImporter: 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)