Change the permissions of test.php. Example: Change permissions to 775
$ chmod 775 test.php
It will be changed to the following permissions.
-rwxrwxr-x
| - | rwx | rwx | r-x | 
|---|---|---|---|
| -(File)、d(directory) | Ownership | Group privileges | Other user rights | 
| r | w | x | 
|---|---|---|
| Readable | Writable | Feasible | 
| 4 | 2 | 1 | 
Change ownership of test.php. Example: Change ownership to nginx
$ chown nginx:nginx test.php
        Recommended Posts