Am I doing this right? [remote development]

See here

I also do things like you, by adding my personal user to www-data group.

There might be other factors influencing things:

  • .htaccess limitaitons
  • selinux restrictions
  • problems with SetUID or SetGID bits, causing new directories to be created with inferior permissions