sudo chmod 777 command code example
Example 1: chmod 777
chmod -R 777 directory
Example 2: all folder permissions terminal
sudo chmod -R -f 777 /path/to/your/file/or/directory
Example 3: chmod 777 command in linux
chmod -R 777 your_directory_name