Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 660250 - sys-apps/portage-2.3.40-r1: Permission denied using EGIT_REPO_URI
Summary: sys-apps/portage-2.3.40-r1: Permission denied using EGIT_REPO_URI
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-07-03 15:14 UTC by Joakim Tjernlund
Modified: 2018-07-08 08:27 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joakim Tjernlund 2018-07-03 15:14:33 UTC
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.
Comment 1 Joakim Tjernlund 2018-07-05 11:44:08 UTC
just found portage vars:
EVCS_UMASK="0002"
ESVN_UMASK="0002"

looks like the above will do it, not tested yet though.