Wordpess – Owner & Permissions (Eigentümer, Dateien/Ordner-Berechtigungen)

Vor der Installation

chown www-data:www-data  -R * # webserver ownership
find . -type d -exec chmod 755 {} \;
# Change directory permissions rwxr-xr-x
find . -type f -exec chmod 644 {} \;
# Change file permissions rw-r--r--

Nach der Installation

chown <username>:<username>  -R * # Let your useraccount be owner
chown www-data:www-data wp-content # Let webserver be owner of wp-content