Ok, so, I had a slight mishap with a umask.. I had it set to umask 0003 for a web server (on the ftp accounts used to maintain the web server's files, actually), for all the users that work together on a single website. Anyway, that was the wrong umask (it should have been 0002 for a new directory creation of drwxrwsr-x )
So, I try the below command to reset all the directories my users have already made to the correct 775 permission:
chmod +x `find . -type d`
The problem is.. my users have been bad. They ignored my instructions NOT to use space in the directory/file name. The above command skips all the directories with space in it
There are hundreds of those directories... I don't want to reset them manually.. Is there a way to include escapes in the find . -type d part?
Thanks in advice for your words of wisdom...