web folder permission issue with WordPress using Nginx in CenterOS
OS: CentOS release 6.2
In nginx.conf, I set web user as nginx as the following,
user nginx nginx;
The mod of plugin/uploads folders is like the following
drwxr-xr-x. 11 nginx nginx 4096 23:09 plugins
drwxr-xr-x. 4 nginx nginx 4096 11:13 uploads
As you see, the plugins/uploads folders are owned by nginx, and “rwx” by nginx, but why when I try to update plugins via wordpress dashboard, I still get permission denied.
Thanks,
Adam
It’s php-fpm settings which override the user/group settings in nginx.conf, and I just need to set to “nginx” and fixed the problem.
http://www.caiapps.com/web-user-and-group-setting-in-nginxphp-fpm-env/
Check more discussion of this question.
Related posts:
Leave a comment
Recent Posts
- Understanding redundant power supplies
- Is there a way for administrators to disable users from installing Firefox extensions?
- Is there research material on NTP accuracy available?
- How to create a limited “domain admin” that does not have access to domain controllers?
- Can Windows RDC admin users be immune from being kicked?
Tags
active-directory
amazon-ec2
apache
apache2
backup
bash
centos
cisco
command-line
debian
dns
email
exchange
firewall
iis
iis7
iptables
linux
macosx
monitoring
mysql
networking
nginx
performance
permissions
php
postfix
raid
security
sql-server
sql-server-2005
sql-server-2008
ssh
ssl
ubuntu
unix
virtualization
vpn
webserver
windows
windows-7
windows-server-2003
windows-server-2008
windows-server-2008-r2
windows-xp





