From 3a30cced3df9a01912960423ba302700f1583b4a Mon Sep 17 00:00:00 2001 From: rperper Date: Wed, 7 Nov 2018 16:15:11 -0500 Subject: [PATCH] lchmod to chmod --- install/installCyberPanel.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install/installCyberPanel.py b/install/installCyberPanel.py index 91d2c5dc0..ca265ac22 100644 --- a/install/installCyberPanel.py +++ b/install/installCyberPanel.py @@ -873,8 +873,8 @@ class InstallCyberPanel: os.fchmod(writeDataToFile.fileno(), stat.S_IRUSR | stat.S_IWUSR) writeDataToFile.close() - os.lchmod(ftpdPath + '/pureftpd-ldap.conf', stat.S_IRUSR | stat.S_IWUSR) - os.lchmod(ftpdPath + '/pureftpd-pgsql.conf', stat.S_IRUSR | stat.S_IWUSR) + os.chmod(ftpdPath + '/pureftpd-ldap.conf', stat.S_IRUSR | stat.S_IWUSR) + os.chmod(ftpdPath + '/pureftpd-pgsql.conf', stat.S_IRUSR | stat.S_IWUSR) logging.InstallLog.writeToFile("PureFTPD configured!") InstallCyberPanel.stdOut("PureFTPD configured!")