Set Rights for Files and Folders recursive

From wiki.linuxonlinehelp.de
Jump to: navigation, search

for directorys..

find /path/to/base/dir -type d -exec chmod 755 {} \;

for files..

find /path/to/base/dir -type f -exec chmod 644 {} \;