Chmod directories to 755 and files to 644

After analyzing all the possible options, the following works great for me. I hope it works for you too... find ./ -type d -print0 | xargs -0 chmod 0755 # For directories find ./ -type f -print0 | xargs -0 chmod 0644 # For files Alternative method... find ./ -type d -exec chmod 0755 {} … Continue reading Chmod directories to 755 and files to 644