sudo chmod code example
Example 1: chmode ubuntu
sudo chmod -R 777 /var/www
Example 2: chmod
sudo chmod -R 777 name-file-wht-upu-want ///open for accsess all users
sudo chmod 644 #for example file /etc/hosts
https://ss64.com/bash/chmod.html
Example 3: chmod 777 command in linux
chmod -R 777 your_directory_name