change permissions of all folders and sub folders in unix code example
Example 1: change the permissions of a folder in linux
sudo chmod -R 757 <file>
Example 2: changing folder permission in linux
chown {user:group} {directory} -R
sudo chmod -R 757 <file>
chown {user:group} {directory} -R