try,
sudo chmod -R 755 /home/yourhosts
use the -R
-----Original Message-----
From: etrader
Sent: Wednesday, July 27, 2011 9:27 AM
To: nginx@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:
http://forum.nginx.org/read.php?2,213004,213004#msg-213004
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx