This article is based on http://blog.netgusto.com/solving-web-file-permissions-problem-once-and-for-all/ The solution mentioned there is for Debain based systems and apache. I modified it for Nginx on Fedora and