No, there is no command to recursively change permissions. If there was such a command, it would violate the Unix mantra: do one thing and do it well.
However, there are two commands: one for recursion ( find ) and one for changing permissions ( chmod ).
So the magic command line:
find . -type d -exec chmod 0755 '{}' + -or -type f -exec chmod 0644 '{}' +
JΓΆrg W Mittag
source share