Change file and folder permission recursively
To Change file and folder permission recursively, use the following command. Here we are using the folder /var/www as example
sudo find /var/www -type d -print0 | xargs -0 chmod 755
sudo find /var/www -type f -print0 | xargs -0 chmod 644
Comments
Post a Comment