Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 463994 - Please allow users to set uid/gid and perms for $PKGDIR
Summary: Please allow users to set uid/gid and perms for $PKGDIR
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Configuration (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Portage team
Depends on:
Reported: 2013-03-31 13:29 UTC by Markos Chandras (RETIRED)
Modified: 2013-03-31 13:29 UTC (History)
0 users

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


Note You need to log in before you can comment on or make changes to this bug.
Description Markos Chandras (RETIRED) gentoo-dev 2013-03-31 13:29:03 UTC

my $PKGDIR is in a vboxfs filesystem and sometimes I find the perms are reset to some weird values. This is probably a problem in vboxfs or something else that I fail to understand so I have to run chown portage:portage and chmod -R 777 on $PKGDIR in order for my packages to be accessible to other boxes. It would be nice if portage could use 2 more new variables in make.conf such as PKGDIR_UGID and PKGDIR_PERMS that would effectively reset the PKGDIR perms to a user-defined value if FEATURES="buildpkg" or --buildpkg is used on every "emerge" invocation.
If these variables are not set, the portage will use the existing behavior and inherit the existing perms from the PKGDIR directory.