linux change permissions to all files in folder code example
Example 1: linux give permission to folder
sudo chmod -R a+rwx /path/to/folder
Example 2: change the permissions of a folder in linux
sudo chmod -R 757 <file>
Example 3: change permissions for specific file types linux
find . -name "*.sh" -exec chmod +x {} \;