If you want to change the permission of individual file or folder then go to the particular path under which that file or folder exists and execute the following command:
chmod 644 file name
chmod 755 folder name
If you want to change the the permission of all the files and folders at a time the execute the following command after going to the path of whos files and folders permission you wish to change:
find $x -type d -exec chmod 755 {} \;
find $x -type f -exec chmod 644 {} \;
Where 644 is the recommended permission for all the files and 755 is the recommended permission for all the folder to prevent any security breeches.
__________________
Jovanna
|