}

Folder Index Page 1

How to set chmod for a directory and all of its subdirectories and files using the Ubuntu terminal?

You can use the parameter -R to apply permission recursively on all directories using chmod. If you only want to apply the execution permission to subdirectories use the option a+rX, check here for more details.