Recursive chmod

25 Feb 2014

How do you do chmod for a directory and all its files and sub-directory?

Use -R. Here is an example:

$ chmod -R 755 [dir path]

Look this command up by -

$ man chmod