Change the permissions of files or directories on Linux.
Chmod files only
find . -type f -exec chmod 664 -- {} +
Chmod directories only:
find . -type d -exec chmod 775 -- {} +
Links
- [[2026-W42]]
Change the permissions of files or directories on Linux.
Chmod files only
find . -type f -exec chmod 664 -- {} +
Chmod directories only:
find . -type d -exec chmod 775 -- {} +