write permission for www-data

douglas dvdougdv at gmail.com
Wed Jul 27 13:31:06 UTC 2011

sudo chmod -R 755 /home/yourhosts
use the -R

-----Original Message----- 
From: etrader
Sent: Wednesday, July 27, 2011 9:27 AM
To: nginx at nginx.org
Subject: write permission for www-data

I stored my hosts in /home. To have full functionality of my scripts I
gave a write permission to www-data (my nginx user) through SSH with
chown command. Although www-data has full permission to /home but I have
problem for writing in sub-folders. For example I need to give
individually a write permission for .home/domain/images.

How I can give write permission to www-data fully?

Posted at Nginx Forum: 

nginx mailing list
nginx at nginx.org

More information about the nginx mailing list