GID of script is smaller than min_gid error
Posted by admin on Thursday, February 12th, 2009 | 9,019 views
Last days I encountered the following error in one of my websites:
GID of script “/home/www/test.php” is smaller than min_gid
Here is how I fixed the error:
- Login by SSH to your server
- Open the directory /home/www/
- Type:
chown username test.php
chgrp groupname test.php
Basically the error I encountered should mean that there is an error in the GID (group ID) and when I checked with SSH I noticed the group and the owner of the file was root, so I changed the owner and the group of the file with my user and groupname using the above commands and then all went fine.
I hope this will help others with the same error.



