⬅︎ Back to chmod files differently to directories
If you do it in one command you dont need to be root, you can be just the owner of the dir:chmod -R a-x+X yourdir
Comment
If you do it in one command you dont need to be root, you can be just the owner of the dir:
chmod -R a-x+X yourdir