The workaround is simple: Open the cpanel Panel error log page, which typically has 2 kinds of errors.
1. The first type of "folder" gives too high a permission to be "group write": Install is writeable by group
2. The second type, "file", gives too high a permission to be "group write": Index.php is writeable by group
You only need to cancel the group write permission for folders and files:
1. Remove the "group write" Permission for "folder", that is, change from default 775 to 755
2. "File" to remove "group write" permission, that is, from the default 664 to 644 can be
Take the install directory and the index.php file for example:
All of the above 2 modifications can be done via FTP or CHMOD command
The code is as follows |
Copy Code |
chmod 755 Install chmod 644 index.php |
And if you have more files and folders that need to change permissions, use chmod to set up subdirectories and file permissions separately:
Set all files in the current directory, including folders, to 644:chmod 644-r *
Set the permissions for all subdirectories in the current directory to 755:chmod 755 ' find-type d '
You can also use the Find command to implement:
The code is as follows |
Copy Code |
find./-type f-exec chmod 644 {}; find./-type d-exec chmod 755 {}; |