500 Internal server error: File is writeable by group

If you found this post helpful, kindly share it and show your support :)


The site is showing 500 internal server error and found following error from the error log.

[Tue Jun 01 07:21:16 2021] [error] [client] File does not exist: /home/example/public_html/500.shtml
[Tue Jun 01 07:21:16 2021] [error] [client] SoftException in Application.cpp:256: File "/home/example/public_html/index.php" is writeable by group

Solution :-

No doubt, this is clearly a permissions error. So, you will need to check the file permissions of the file.

Here, the “/home/example/public_html/index.php” was having file permission ‘0664’.

As you know the default file permission should be ‘0644’.

So, in order to fix this error, you will need to change file’s permission from ‘0664’ to ‘0644’ using following command

chmod 0644 /home/example/public_html/index.php


Mohammed Noufal

I'm Mohammed Noufal, working as Server Admin for the last 10 years.  In my day-to-day life, l had to face different problems related to Web-hosting. On my website Errorlogz.com, you can find solutions for different Web-hosting-related problems. Sometimes, I spent hours searching/googling to find a solution. This inspired me to start a website that gives solutions to different Webhosting problems. This website includes basic Linux and windows commands, and different control panels like cPanel, Plesk, DirectAdmin, Webmin & so on. You can find solutions and or suggestions for different Web-hosting related problems from here. Hence I would like to say Errorlogz is your server protector.  I will be glad if Logdetect can help any one of the Server admins to find a solution to his problem.

You may also like...

Leave a Reply

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