→‎Post-installation updates: add a note for Nginx users
→‎Post-installation updates: fix www-data:mhan to www-data:www-data for setting permissions
→‎Post-installation updates: add a note for Nginx users
 
Line 130: Line 130:
$ <b class="color:white;">sudo find storage -type d -exec chmod 2775 '{}' \;</b>
$ <b class="color:white;">sudo find storage -type d -exec chmod 2775 '{}' \;</b>
</span>
</span>
</div>
<div class="mw-geshi">
NOTE FOR NGINX USERS: I know this instruction was originally written for Apache web server, but if you're using Nginx and you happen to be using something else than Ubuntu, then you can replace the line that contains 'www-data' with the following:
$ sudo chown -R `grep user /etc/nginx/nginx.conf | sed 's/user //g; s/;//g'`:`grep user /etc/nginx/nginx.conf | sed 's/user //g; s/;//g'` storage
</div>
</div>