I want my ccache directory to be shared across all users. However, portage
is not liking that idea. I've set up CCACHE_DIR so that it's in the
default profile (to use it instead of ~/.ccache) and then chown'd it
(recursively) to root:root and chmod'd it (recursively) to a=rwx. I've
also set up CCACHE_UMASK appropriately. Each time I do a merge though,
the directory is reset to 2770 portage:portage making it impossible for
non-portage users to use the cache.
An aside:
I've found the best way to make distcc run behind ccache is to lie to
portage. I use FEATURES="-distcc" but put 'CCACHE_PREFIX="distcc"'
in /etc/env.d/02distcc. I've also set up DISTCC_DIR there and
ch{own,mod}'d the directory appropriately.
It seems I may have to go a step further in my lies. Would the solution to
this lie in setting up ccache masquerade links and then using
FEATURES="-ccache"? Will that play nicely the other machines in my distcc
cluster set up the same way?
Or, is there some magical portage option that I can give it so the will
quit screwing with my *correct* and *accessible* permissions? I know that
portage will be able to use the ccache when set up the way I have it.
--
Boyd Stephen Smith Jr.
[EMAIL PROTECTED]
ICQ: 514984 YM/AIM: DaTwinkDaddy
--
[email protected] mailing list