linux change permission of a directory for specific user 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