ccache imposes sudo for configure?
Lawrence Velázquez
larryv at macports.org
Thu Mar 12 11:30:34 PDT 2015
On Mar 12, 2015, at 1:40 PM, René J.V. Bertin <rjvbertin at gmail.com> wrote:
> can someone explain to me why it is that setting `configureccache yes`
> in macports.conf makes it obligatory to do `port configure` via sudo
> (with an error if that is not the case)?
The ccache setup assumes that $macportsuser is not the same as the user
that ran port(1), so it needs root privileges to create and set
ownership on the ccache directory.
http://trac.macports.org/browser/tags/release_2_3_3/base/src/port1.0/portconfigure.tcl#L244
vq
More information about the macports-dev
mailing list