Fix File Permission on Linux/Mac Server

Over the time, file permissions get messy on a linux/mac server. It really annoys (me) to see static files like images have 0755 i.e. executable permission set for them. You can use following commands to fix permissions: find . -type d -print0 | xargs -0 chmod 0775 find . -type f -print0 | xargs -0 chmod … Continue reading Fix File Permission on Linux/Mac Server