I am new to linux and I installed linux for web server purpose with apache2. I have created a new directory /var/www/mysite. My main problem is that each new file I create has read only permissions 644 permissions using root user. I would like each new file created to have 775 permission. I am using FTP to update my files and simply each time I upload or create a new file I need to login via ssh and update permissions.
I read around that there is UMASK and some ways to change default permissions for groups/users but I am not quite sure what would be the best solution.
Thanks in advance for any help...