linux change folder write permissions code example
Example 1: linux give permission to folder
sudo chmod -R a+rwx /path/to/folder
Example 2: changing folder permission in linux
chown {user:group} {directory} -R
sudo chmod -R a+rwx /path/to/folder
chown {user:group} {directory} -R