(Reading time: 1 minute)

Linux

The following command recursively CHMODs all directories in your directory to 755.

 
 
 
find /path/to/your/dir -type d -exec chmod 755 {} +
 
 
 

 

If you have amny directories, you can also use the following command.

 
 
 
find /path/to/your/dir -type d -print0 | xargs -0 chmod 755
 
 
 

 

 

Oxygen
Author: Oxygen
Other articles by this author

Chillzee Tag Cloud

Let's Socialize

About Chillzee

Chillzee.com is an entrepreneurship portal.

The site provides informative topics on Organizational and Strategic needs.