lchmod to chmod

This commit is contained in:
rperper
2018-11-07 16:15:11 -05:00
parent fd8d034d08
commit 3a30cced3d

View File

@@ -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!")