drupal and wordpress folder permission

drupal:

user:www-data

files640, directories750, sites/default/files(directories770,files660)

wordpress;

user:www-data

files644, directories755

chown user:www-data -R *          # Let apache be owner
find . -type d -exec chmod 755 {} \;  # Change directory permissions rwxr-xr-x
find . -type f -exec chmod 644 {} \;  # Change file permissions rw-r--r--
Tell others about me!

Leave a Reply

Your email address will not be published. Required fields are marked *