Change directory permissions recursively

Here's how to use the "find" command to change directory permissions recursively.

Here is a command that will let you change the directory permission of all the sub-directories. Often times you...

only need to change the directory permissions under a given project root, for example, to make a group writable and world readable. This cannot be done with the "chmod -R " command because this will affect files also. We can do the same using the "find" command. find . -depth -type d -exec chmod 775 {} ;

This was last published in August 2002

Dig Deeper on Enterprise User Provisioning Tools

PRO+

Content

Find more PRO+ content and other member only offers, here.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchCloudSecurity

SearchNetworking

SearchCIO

SearchConsumerization

SearchEnterpriseDesktop

SearchCloudComputing

ComputerWeekly

Close