Can't get the right permissions / ownership setup?!
-
I have a set the following permissions on my WP install:
find /path.to/wp-install/ -type d -exec chmod 755 {} \; find /path.to/wp-install/ -type f -exec chmod 644 {} \;
then
chmod -r g+w /path.to/wp-content chmod g+w /path.to/.htaccess
then added domainuser to the group (in /etc/group)
apache:x:48:apache,domiainuser psacln:x:2523:apache,psaadu,psaftp
then
chown -r domainuser:psacln httpdocs
this allows me to upload images thru WordPress media uploader and upload files to the ftp, but I can’t update WP, or any plugins within WordPress auto updater.
If I change ownership:
chown -r apache httpdocs
I can then update thru wordpress, but can’t upload files thru FTP?
- The topic ‘Can't get the right permissions / ownership setup?!’ is closed to new replies.