I have a problem with trying to give the permissions on the web directory.
I've changed the group owner of /var/www
to www-data
and I've added the user amitger1
(ftp user who uploads the files to the web directory) to the www-data group
, then I've set the permissions to 770 but when I upload a new file it appears with 600 permissions.
How can I do to change the permissions of all the new files to 770?