Konrad Podgórski - Web Developer

Personal blog about developing web applications with PHP

Setting permissions for files and directories

Please keep in mind that this post was written more than 2 years ago and might be outdated.

Recursively sets permission 644 to all files, and 755 to all directories within current location.

One liner for my reference :)

find . -type f -exec chmod 644 {} \;; find . -type d -exec chmod 755 {} \;


Find this post helpful? Spread the word, thanks.