Error 500 File is Writeable by group in WHM/cPanel (SoftException)

WHM/cPanel when configured with suPHP, requires that files have permission 644, and directories 755, otherwise we will get Error 500:

... SoftException in Application.cpp:267: File ....  is writeable by group

How do I fix this SoftException error?

Access the cPanel account via SSH, navigate to the directory corresponding to the problem and execute the following commands to change the permissions of files to 644 and directories to 755:

find ./ -type d -print0 | xargs -0 chmod 0755 
find ./ -type f -not -name "*.pl" -not -name "*.cgi" -not -name "*.sh" -print0 | xargs -0 chmod 0644

 

 

Comments

No comments yet. Why don’t you start the discussion?

Leave a Reply

Your email address will not be published. Required fields are marked *