Konrad Podgórski Web Developer / Software Architect

Place where I used to write about code related things. Currently umaintained.

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.