Website Scripts And Cloud Tutorials

Linux Change permission files recursively

Byadmin

Mar 24, 2014

Last updated on May 23rd, 2016 at 04:34 pm

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

Linux Change permission files recursively

Simple command to change the permission of all the files recursively in linux

find . -type f -exec chmod 664 {} \;

The above command will recursively change the permission of all the files to 664.

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

All the files inside /var/www path will have the permission set to 664

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

Leave a Reply

Your email address will not be published.