Website Scripts And Cloud Tutorials

Change permission of all folders recursively in linux

Byadmin

Sep 29, 2013
Click to rate this tutorial!
[Total: 0 Average: 0]

Simple command to change the permission of all the folders or directories recursively in linux

find . -type d -exec chmod 775 {} \;

The above command will recursively change the permission of all the directories to 775.

For example if you run this command under
/var/www

All the directories inside /var/www path will have the permission set to 775

Click to rate this tutorial!
[Total: 0 Average: 0]

Leave a Reply

Your email address will not be published.