Because of security reasons, we do not allow scripts to run under the 777 permission. Executable scripts should run under 711 or 755 and PHP scripts should run under 644.
To check the permissions of scripts you had under 777:
Article ID: 507
Created On: Tue, Mar 17, 2015 at 4:18 PM
Last Updated On: Thu, Apr 23, 2015 at 12:41 PM
Online URL: https://www.heartinternet.uk/support/article/is-there-an-easy-way-to-change-the-permissions-of-my-scripts.html