Default user group
I have a simple problem when creating files and directories. I'm working on a website hosted by a Ubuntu LAMP server. Whenever I create a file or directory, I want it to belong the www-data group and not my usergroup.
I've tried changing my default usergroup to www-data but that has not worked. So now, whenever I create a file (usually through Dreamweaver), I have to SSH in and change it to the www-data group for it to function with the rest of the site. Can anyone help?