mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2026-03-06 12:20:45 +01:00
cPanel importer: fix symlink error.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user