Build pkgs as a normal user(in portage group) fails: Fetching git://git.infinera.com/tmv3-target-sw.git ... git fetch git://git.infinera.com/tmv3-target-sw.git +refs/heads/cusfpv3:refs/heads/cusfpv3 +refs/tags/*:refs/tags/* error: cannot open /usr/portage/distfiles/git3-src/tmv3-target-sw.git/FETCH_HEAD: Permission denied * ERROR: sys-apps/cusfpv3-9999::x-tmv3-target-overlay failed (unpack phase): * Unable to fetch from any of EGIT_REPO_URI ls -l /usr/portage/distfiles/git3-src/tmv3-target-sw.git/ total 24 drwxr-xr-x 6 portage portage 121 Jul 3 11:16 ./ drwxr-xr-x 21 portage portage 4096 Jul 3 11:16 ../ -rw-r--r-- 1 portage portage 66 Jul 3 11:16 config -rw-r--r-- 1 portage portage 73 Jul 3 11:16 description -rw-r--r-- 1 portage portage 5961 Jul 3 11:16 FETCH_HEAD -rw-r--r-- 1 portage portage 23 Jul 3 11:16 HEAD drwxr-xr-x 2 portage portage 301 Jul 3 11:16 hooks/ drwxr-xr-x 2 portage portage 21 Jul 3 11:16 info/ drwxr-xr-x 4 portage portage 30 Jul 3 11:16 objects/ drwxr-xr-x 5 portage portage 45 Jul 3 11:16 refs/ Here one can see that portage group doesn't have write privs.
just found portage vars: EVCS_UMASK="0002" ESVN_UMASK="0002" looks like the above will do it, not tested yet though.