I have a server machine that contains 10 users. OS: Ubuntu 12.04.3 LTS 64bit
These users are developers (mainly web developers: HTML+JS+PHP+MYSQL)
I allowed them to remote login through XRDP and VNC.
Now everything works fine but the problem in /var/www
What is the suitable permission for this directory so they don't have problems while sharing some code between them although they aren't root. All of them are simple users.
I need to know if there is a secure way of letting them share source code and at the same time each one have its own repository. I welcome any idea.