#31827: fetch.type bzr: permission issues due to incorrect ${HOME} ----------------------------------+----------------------------------------- Reporter: ecronin@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 2.0.3 Keywords: | Port: ----------------------------------+----------------------------------------- Comment(by ecronin@…): It sets the macports user's home directory to /var/empty when it is created. I remember this being an issue with other ports when 2.0 first came out (it was set to /dev/null at first and broke them), and assumed the privilege dropping code now set the environment properly for macportsuser when it is non-root most of the time, just not in this instance. If we aren't setting $HOME to a sanitized value we should be, even when running as root. Building a port shouldn't be creating/modifying files in the user's home directory, and it shouldn't be reading them if we want reproducible builds -- Ticket URL: <https://trac.macports.org/ticket/31827#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS