how to change permission on linux command code example
Example 1: how to change permissions on a file in linux
sudo chmod -R ugo+rwx /file/path
Example 2: how to change permission of a folder linux
chmod 777 foldername
#will give read, write, and execute permissions for everyone.