Fixing Permissions on a website

Written by

in

,

Directory Perms:

find /path/to/base/dir -type d -print0 | xargs -0 chmod 755

 

File Perms:

find /path/to/base/dir -type f -print0 | xargs -0 chmod 644