Adding supllimentary group so that user can have access

view story

http://unix.stackexchange.com – I am using opensuse. I have created a directory projects under /srv and set its permissions to 770 and chown -R wwwrun:developer /srv/projects/ I have used usermod -a -G developer username but I can't access that directory, I always get permission denied entry. I want to clone a git repo in projects so that only apache and group of developer able to rwx it. (HowTos)