Boyd Stephen Smith Jr. wrote:

On Wednesday 05 January 2005 07:11 pm, Alec <[EMAIL PROTECTED]> wrote:


Boyd Stephen Smith Jr. wrote:


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.


Regardless of why other people would need the cache ( why aren't
they using portage in the first place? :P )



Becuase they are developing their own C programs, ill-suited or unready for public consumption.


I suppose I could make portage use it's own ccache by seting CCACHE_DIR in make.conf.



That looks like the best solution, IMHO.

I believe portage is hard coded to chmod that directory to itself. Then again, it was really late
when I was reading through the code, so I could be mistaken.



Blah, I suppose I'll just have to experiment with ccache masquerading.





--
Alec Warner
Spartasoft Secretary ( spartasoft.msu.edu )
Junior Computer Science
Michigan State University
[EMAIL PROTECTED]


-- [email protected] mailing list



Reply via email to