On Thu, Aug 05, 2021 at 08:01:22PM -0400, Polyna-Maude Racicot-Summerside wrote: > find . -type d -exec chmod -v 0644 '{}' \; > > to change the folder > > find . -type f -exec chmod -v 0755 '{}' \; > > to change files
You've switched the permissions around. You want 644 on the files, and 755 on the directories. Use + instead of \; to make them more efficient. Also, you don't need to quote the {} argument. I've never been able to figure out where that tradition came from, because I've never seen *any* shell where it's needed. But at least it's harmless.