|Summary:||Please allow users to set uid/gid and perms for $PKGDIR|
|Product:||Portage Development||Reporter:||Markos Chandras (RETIRED) <hwoarang>|
|Component:||Core - Configuration||Assignee:||Portage team <dev-portage>|
|Package list:||Runtime testing required:||---|
Description Markos Chandras (RETIRED) 2013-03-31 13:29:03 UTC
Hi, 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.