New comment by furryfixer on void-packages repository https://github.com/void-linux/void-packages/issues/18282#issuecomment-578535035 Comment: I accept the criticism. Although running as root is never recommended if avoidable, it has been tempting, and successful until recently, for me to use xbps-src within a larger Install script which MUST run with elevated privileges. This is of course easily changed. The current documentation for xbps-src has a mild statement that running it as root is not required. I had known this, but we should be aware that most "xbps-" commands require elevated privileges in common usage, so this could be a trap for the unwary. So the maintainers have at least three basic options, if not more. - (1) Ignore errors that only occur running as root, and place a stronger admonition/warning in the documentation. - (2) Repair the xbps-src binary-bootstrap process to work for root. For now, this might be as simple as creating a "tmp" subdirectory. - (3) Modifying xbps-src to prevent running as uid 0. I think one of these should happen, but not up to me. Depending on your decision, you may close this when you feel appropriate.