How to recursively change the permissions of files and directories in ubuntu?

How to recursively change the permissions of files and directories in ubuntu?

In this post we will give you information about How to recursively change the permissions of files and directories in ubuntu?. Hear we will give you detail about How to recursively change the permissions of files and directories in ubuntu?And how to use it also give you demo for it if it is necessary.

Sometimes, we need to give recursively change the permissions of specific files and directories in ubuntu OS. you can open terminal and run bellow command, so let’s try this way :

Example

sudo find foldername -exec chmod a+rwx {} ";"

Give more specific!

sudo find foldername -type d -exec chmod 755 {} ";"

sudo find foldername -type f -exec chmod 644 {} ";"

Hope this code and post will helped you for implement How to recursively change the permissions of files and directories in ubuntu?. if you need any help or any feedback give it in comment section or you have good idea about this post you can give it comment section. Your comment will help us for help you more and improve us. we will give you this type of more interesting post in featured also so, For more interesting post and code Keep reading our blogs

For More Info See :: laravel And github

Leave a Comment

Your email address will not be published. Required fields are marked *

4  +  6  =  

We're accepting well-written guest posts and this is a great opportunity to collaborate : Contact US