Why is ${prefix}/var/macports/home not owned by the macports user?

janosch1 at mailbox.org janosch1 at mailbox.org
Fri Jan 1 10:45:22 UTC 2021


> Am 31.12.2020 um 19:41 schrieb Ryan Schmidt <ryandesign at macports.org>:
> 
> On Dec 31, 2020, at 09:49, Janosch Peters wrote:
> 
>> I think the home folder of the macports user should be owned by macports, no?
> 
> No, it is intentional that ports cannot write to that home directory. We do not want it to fill up with junk.
> 
> When a port is installed, MacPorts creates a new home directory just for that port, within the port's work directory. MacPorts sets the HOME environment variable to the path to that directory. Most tools honor that environment variable. If the tool you are using does not honor that, you could file that as a bug with the authors of that tool.

Ok. Thanks for clarifying. I filed a bug for Carthage: https://github.com/Carthage/Carthage/issues/3101


More information about the macports-users mailing list