LimitRecursion and MaxDiskUsage
Using WHM 124.0.21. Every time the server is restarted AND/OR every time WHM is updated, there are at least two settings that get reset in /etc/pure-ftpd.conf (there may be more). Those are these lines:
- LimitRecursion
- MaxDiskUsage
Is there a way cPanel could prevent this? It's super annoying! While using FTP after an update (often I'm not even aware of WHM updating itself) sometimes I'm looking for a file and the file doesn't show up and I'm confused until I realize that the FTP client is limited to listing 10000 files so all other files are not showing and are not searchable by my FTP client.
-
Oh, will you look at that. I wrote 6 YEARS ago about the same issue and nobody even replied to my post. As a customer, I feel like I'm throwing money at a company that does not care about user experience at all. https://support.cpanel.net/hc/en-us/community/posts/19131800553239-Permanently-modify-the-LimitRecursion-setting
0 -
in the last line of /etc/pure-ftpd.conf there is:
# Include additional_configuration.confDid you try that way?
0 -
Can you explain what "that way" means exactly? Are you inferring that additional_configuration.conf will override /etc/pure-ftpd.conf while not getting overwritten after a server restart and/or a WHM update?
As a side question: Do you know what makes /etc/pure-ftpd.conf revert some of the settings (but not all of them) and why?
0 -
Hey there! In general, on a cPanel machine, you aren't going to be able to edit configuration files directly, and that includes the /etc/pure-ftpd.conf file. You would need to use the details outlined on this documentation page to edit a local version of that file that cPanel reads:
https://docs.cpanel.net/whm/service-configuration/ftp-server-configuration/#increase-file-limit
You can also add the MaxDiskUsage or any other values you'd like to adjust to that custom file and those will survive nightly updates and future changes as expected.
Once that work is complete, ensure that you run the
/usr/local/cpanel/scripts/setupftpserver pure-ftpd --force
command to update the
/etc/pure-ftpd.conf
file.0 -
OK and so do I have to pass that /var/cpanel/conf/pureftpd/local file path on that line like quietFinn suggested?
# Include additional_configuration.conf
0 -
As far as I'm aware, no.
0 -
OK I ran that command and the /etc/pure-ftpd.conf file got updated with new values, so I think it worked. Now we'll leave this thread open until a WHM update or a server restart and we'll see if the values "stick".
/usr/local/cpanel/scripts/setupftpserver pure-ftpd --force
Thanks!
0 -
You're very welcome!
0
Please sign in to leave a comment.
Comments
8 comments