Recursive change of file permissions on Debian

Recursive change of file permissions

We go to the directory for which we want to change permissions (np public_html) and then enter:

SeoHost.pl

For files:
find . -type f -exec chmod 644 {} \;
For catalogues:
find . -type d -exec chmod 755 {} \;

How useful this post was?

How useful this post was, to evaluate it!

How useful this post was 5 / 5. How useful this post was: 4

How useful this post was! How useful this post was.