Apply a mode to a directory tree.
Section: Permissions Ownership and ACLs
Change permissions recursively
bash
bash
chmod -R u=rwX,go=rX public/Explanation
Prefer symbolic recursive modes for directories so execute is only set where appropriate.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Permissions Ownership and ACLs