How to chmod 755 all directories but no file (recursively)? by @thinkcyber — May 30, 2014 in Ubuntu chmod 755 $(find /path/to/base/dir -type d) chmod 644 $(find /path/to/base/dir -type f)