Commands
find <path>/ -type d -not -perm 775 -exec chmod 755 {} \;
find <path>/ -type f -not -perm 664 -exec chmod 644 {} \;
Makes life easy, especially when directories are nested deeply.
Just another technical blog
Leave a comment
Your email address will not be published. Comments are moderated before appearing. We retain your IP address for up to 90 days for moderation, then remove it.