write permission for www-data
Adam Tucker
atucker at batchblue.com
Wed Jul 27 13:31:39 UTC 2011
If the subdirectories were created before you chowned /home you'll need to run it recursively. For example:
cd /home && chown -R www-data .
On Wednesday, July 27, 2011 at 9:27 AM, etrader wrote:
> 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 at nginx.org (mailto:nginx at nginx.org)
> http://mailman.nginx.org/mailman/listinfo/nginx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20110727/5ad696e9/attachment.html>
More information about the nginx
mailing list