<div>
If the subdirectories were created before you chowned /home you'll need to run it recursively. For example:
</div><div><br></div><div>cd /home && chown -R www-data .</div>
<div></div>
<p style="color: #a0a0a0;">On Wednesday, July 27, 2011 at 9:27 AM, etrader wrote:</p>
<blockquote type="cite" style="border-left-style:solid;border-width:1px;margin-left:0px;padding-left:10px;">
<span><div><div>I stored my hosts in /home. To have full functionality of my scripts I<br>gave a write permission to www-data (my nginx user) through SSH with<br>chown command. Although www-data has full permission to /home but I have<br>problem for writing in sub-folders. For example I need to give<br>individually a write permission for .home/domain/images.<br><br>How I can give write permission to www-data fully?<br><br>Posted at Nginx Forum: <a href="http://forum.nginx.org/read.php?2,213004,213004#msg-213004">http://forum.nginx.org/read.php?2,213004,213004#msg-213004</a><br><br>_______________________________________________<br>nginx mailing list<br><a href="mailto:nginx@nginx.org">nginx@nginx.org</a><br><a href="http://mailman.nginx.org/mailman/listinfo/nginx">http://mailman.nginx.org/mailman/listinfo/nginx</a><br></div></div></span>
</blockquote>
<div>
<br>
</div>