chmod
chmod command allow you to change permission for a file or folder.
1 |
chmod 755 index.php |
Above command chnage permission of file index.php to 755.
1 |
chmod -R 755 public_html |
Above command change permisison of folder public_html and files inside it to 755. -R option is for recursively chmod.