change file permissions of all files in a folder in linux

If you are new in Linux for that use this command. change file permissions of all files in a folder in linux, In this article we given commands for changing permission for all folders and files. using command you can change the permission

 

change file permission of all folder and subfolders in linux

#chmod 777 * //for chanding the all folders file permission
#chmod 777 FOLDER_NAME

Where I stuck, I want to change the Main folder and subfolders and all files persimission.
You can use following command.

#chmod -R 777 *
#chmod -R 777 FOLDER_NAME