I urgently need some advice as to why I have to change all files I want to edit to 777? I think there maybe sound thing wrong with the apache user not being the owner. I can only edit any file if I set 777 so anyone can edit it. Any help much appreciated.
cheers
This web page on the wordpress.org website seems to be addressing your issue exactly: http://wordpress.org/support/topic/file-permissions-avoiding-777
This isn't really a thing that can be controlled from wordpress, but seems to have some relation to the way your hosting company configures its servers.
You shouldn't have to. Often this comes down to the group being incorrect. My wp-content
is owned by the user apache
and the group apache
on a standard Slackware Linux installation.
File permissions are 664 on these. For me, I do:
chown -R apache.apache wp-content
chmod -R o-w wp-content
chmod -R gu+rw wp-content
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.