From 62bff69a193dc9e9401c946d8abe39fde24f9ffa Mon Sep 17 00:00:00 2001 From: Euan Kemp Date: Thu, 7 Sep 2017 11:52:21 -0700 Subject: [PATCH] update_chroot: set a more permissive ccache umask This seems to fix the ccache permission issues `update_chroot` hits while building ninja. The erroneous files were created as root:portage, so a umask of 002 should let other portage group members share them, which seems entirely reasonable. --- update_chroot | 1 + 1 file changed, 1 insertion(+) diff --git a/update_chroot b/update_chroot index 02afc6fb21..85b703d3bd 100755 --- a/update_chroot +++ b/update_chroot @@ -86,6 +86,7 @@ PORT_LOGDIR="/var/log/portage" PORTAGE_BINHOST="$(get_sdk_binhost)" PORTAGE_USERNAME="${PORTAGE_USERNAME}" MAKEOPTS="--jobs=${NUM_JOBS} --load-average=$((NUM_JOBS * 2))" +CCACHE_UMASK="002" # Generally there isn't any need to add packages to @world by default. # You can use --select to override this.