linux permissions command code example
Example 1: debian give write permission
sudo chmod -R 757 /var/www
Example 2: change permissions for specific file types linux
find . -name "*.sh" -exec chmod +x {} \;
sudo chmod -R 757 /var/www
find . -name "*.sh" -exec chmod +x {} \;