If you are new in Linux for that use this command.
#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