[90075] trunk/base/src/macports1.0/macports.tcl

Joshua Root jmr at macports.org
Tue Feb 21 05:22:46 PST 2012


On 2012-2-21 12:52 , cal at macports.org wrote:
> Revision: 90075
>           http://trac.macports.org/changeset/90075
> Author:   cal at macports.org
> Date:     2012-02-20 17:52:09 -0800 (Mon, 20 Feb 2012)
> Log Message:
> -----------
> Only copy com.apple.dt.Xcode.plist to temporary user directory if newer

What if the user running port is not the user who ran it last time?

Also, the procedure you edited doesn't just handle temporary per-port
home dirs, it also does /opt/local/var/macports/home.

> This prevents permission errors occuring when using bash-completion and
> port(1) without sudo in environments where the macports user doesn't
> have permission to read the file and/or can't write to the temporary
> home.

What errors were you seeing? What does the macports user have to do with
running without sudo?

I didn't see any problems running port without sudo before this change.

- Josh


More information about the macports-dev mailing list