Something keeps setting directory perms to 750
SOmething keeps setting directory perms to 750 in WHM 11.42.1 (build 12) and some older versions.
This happened a few times to servers I managed in the last 1.5 years. It happens to some directories, but not all.
I never change file perms ever, unless it is a perl script.
This time it happened on WHM 11.42.1 (build 12) and the only thing I did today that is remotely similar is run /scripts/chownpublichtmls
I ahd to run these to repair:
cd /blah/blah;
find -type f -print -exec chmod 644 {} \;
find -type d -print -exec chmod 755 {} \;
But cpanel need to find out wtf is causing this. This happened to 80 subdirectories that had $150 in facebooks ads going to them. So, $150 worth of visitors got FORBIDDEN.
I am the ONLY one with access to the server and my security is strong. My logs show no foul play. So, it is Cpanel malfunctioning.
-
Hello :) To clarify, is this happening to more than just the public_html directory itself? Are the additional directories within the public_html directory? You mentioned that you are positive that cPanel is causing this. Is there a specific method we can use to reproduce the behavior? Thank you. 0 -
[quote="cPanelMichael, post: 1639282">Hello :) To clarify, is this happening to more than just the public_html directory itself? Are the additional directories within the public_html directory? You mentioned that you are positive that cPanel is causing this. Is there a specific method we can use to reproduce the behavior? Thank you.
I realize this is a very old post, but it's been happening on my server the last 3 times I upgraded cPanel. To verify I checked the permissions before upgrading to 11.48.1.2 (roughly an hour ago), then checked after.0 -
[quote="MaraBlue, post: 1842162">I realize this is a very old post, but it's been happening on my server the last 3 times I upgraded cPanel. To verify I checked the permissions before upgrading to 11.48.1.2 (roughly an hour ago), then checked after.
To clarify, is this happening to more than just the public_html directory itself? Are the additional directories within the public_html directory? Could you open a support ticket so we can take a closer look? You can post the ticket number here so we can update this thread with the outcome. Thank you.0 -
Yes, I was just about to submit a support ticket. I highly suspect it's something in EasyApache that's causing this, because it's happened with the last 3 PHP upgrades (to clarify: I do manual cP updates, and typically there's a cP update available when I use EA to update PHP, so they often happen at the same time). This time in addition to resetting public_html and containing directories to 750, /tmp was reset to 0755, which caused outgoing email to fail, as well as random errors with PHP sessions. I thought they were two separate errors until I stumbled upon /tmp's permissions being set wrong. That fixed, both errors went away. Now I'm a little hesitant to use EA again.... 0 -
Feel free to post the ticket number here so we can update this thread with the outcome. Thank you. 0
Please sign in to leave a comment.
Comments
5 comments