I have been having ongoing issues with my public_html changing to 777 and bringing my site down.
My host has just advised my that these 2 files contain chmod commands, which could be the cause of the problem.
./public_html/tp/graph/jpgraph.php
./public_html/tp/img.php
Can any one offer any advice, I'm pulling my hair out changing the settings back every 10 mins