What is permission is similar to 755?
First of all, for over last 8 months I tried for a getting a solution via my hosting company's Advanced Tech Support, and also by searching Google and its AI, but did not received an actual solution. I am on a shared hosting server with only limited access to the Web Host manager (WHM). Therefore, I cannot make any server changes under my WHM. I do have a control panel for my account.
The Problem:
Currently I have about 200 password protected customers directories under the following website directory where my customers can retrieve their reports and photographs:
https://example.com/customers, and I am currently adding more periodically.
However, when my customers or I try to access these directories, we get a 500 Internal Server Error.
My tech support told me that the folder containing the passwords are under /.htpasswds/public_html/customers, and the reason for the 500 Internal Server Errors is that the /.htpasswds folder itself permission is set to 750.
After tech support changed the /.htpasswds folder permission to 755, everything worked fine.
However, within minutes, the permission was automatically changed back to 750 by the server, resulting in a 500 Internal Server Errors again.
Next, I changed the Permission back to 755, and shortly after again the permission was automatically changed back to 750, resulting in a 500 Internal Server Error again.
Again, I changed the Permission back to 755 and minutes later it automatically reverted back to 750 again.
My web hosting company stated that I should migrate to a different server and check if it fixes the issue. However, I do not want to migrate my account to a different server.
My Questions:
Is there a folder / directory permission similar to 755 that would prevent the server from automatically changing the permission back to 750, that results in a 500 Internal Server Errors again?
If not, can anything be done via a cron job?
I tried changing it to 644, but that failed with a 500 Internal Server Error response.
Thank you for your time.