how can we assign rights on directory to user in linux code example
Example 1: change the permissions of a folder in linux
sudo chmod -R 757 <file>
Example 2: how to give permission to a user in linux on a folder
sudo chmod u+w myfolder
sudo chmod -R 757 <file>
sudo chmod u+w myfolder