mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-13 00:36:10 +01:00
Limit access for a couple of other files
This commit is contained in:
@@ -873,6 +873,9 @@ class InstallCyberPanel:
|
|||||||
os.fchmod(writeDataToFile.fileno(), stat.S_IRUSR | stat.S_IWUSR)
|
os.fchmod(writeDataToFile.fileno(), stat.S_IRUSR | stat.S_IWUSR)
|
||||||
writeDataToFile.close()
|
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)
|
||||||
|
|
||||||
logging.InstallLog.writeToFile("PureFTPD configured!")
|
logging.InstallLog.writeToFile("PureFTPD configured!")
|
||||||
InstallCyberPanel.stdOut("PureFTPD configured!")
|
InstallCyberPanel.stdOut("PureFTPD configured!")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user