Quantcast
Channel: Ian Chilton » Linux
Viewing all articles
Browse latest Browse all 7

Recursively chmod Files and Directories

$
0
0

To recursively chmod all files in the current directory (and sub-directories), you can do this:

find . -type d -exec chmod 755 {} \;

To do the same with just files, you can use:

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

Viewing all articles
Browse latest Browse all 7

Trending Articles