[CentOS] chmod for directories only

Robert Moskowitz rgm at htt-consult.com
Mon Dec 1 17:53:22 UTC 2008

I want to change the permissions on directories, recursively to:


but keep the files within the directory tree as:


But I can't find an option for chmod to only affect directories.  I 
suppose it won't hurt (in this case) to set the x for the files, but I 
want some consistancy.

More information about the CentOS mailing list