Robert Basic's blog

Archives for January, 2011

Change permissions on folders/files only

by Robert Basic on January 11, 2011.
Heads-up! You're reading an old post and the information in it is quite probably outdated.

This is just a quick reminder for myself. Should really remember this one. Changes permissions on folders|files only.

$ find /path/to -type d -exec chmod 775 {} \;
$ find /path/to -type f -exec chmod 664 {} \;
Tags: permissions, shell.
Categories: Development.