pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: how to use ccache?

On Mon, 31 Aug 2009 09:58:16 -0400
Greg Troxel <> wrote:

> I see reading mk/compiler/ that this is documented.  But it
> seems like a very strange default.

There is no obvious default value I guess. We could (should?) issue a
warning if CCACHE_DIR is unset.

> What is the recommended setting for CCACHE_DIR?  How does one manage a
> shared cache for builds as me vs root?  Or is the thinking that reading
> a root ache as me is a disclosure vulnerability and writing a root cache
> an integrity vulnerability?

You local fast filesystem of choice. For the sharing problem, I think
you can use CCACHE_UMASK (see ccache (1)) as long as the security
implications are understood.

Home | Main Index | Thread Index | Old Index