[MacPorts] #68043: MacPorts 2.8.0 in non-sudo mode, creates source files as `root` and work files as `macports` on M1 Mac

MacPorts noreply at macports.org
Sat Aug 26 23:37:28 UTC 2023


#68043: MacPorts 2.8.0 in non-sudo mode, creates source files as `root` and work
files as `macports` on M1 Mac
---------------------+--------------------
  Reporter:  lukaso  |      Owner:  (none)
      Type:  defect  |     Status:  new
  Priority:  Normal  |  Milestone:
 Component:  base    |    Version:  2.8.0
Resolution:          |   Keywords:
      Port:          |
---------------------+--------------------

Comment (by lukaso):

 Thanks.

 > MacPorts 2.8.0 is outdated; please update to 2.8.1.

 Sorry, I'm actually using 2.8.1. I wrote incorrectly.

 > base from source using the `--with-no-root-privileges` flag

 I am building from source, but I was not aware of that flag. And I'm not
 using `sudo` anywhere, though you are right, how would it magically get
 those privileges?

 This is my current build command:

 `$PREFIX` is `PREFIX="${HOME}/macports-gimp3-arm64"`

 {{{
 ./configure --prefix=$PREFIX --with-applications-dir=$PREFIX/Applications
 --without-startupitems --with-install-user=${USER} --with-install-
 group=staff
     make
     make install
 }}}

 I'll try the `--with-no-root-privileges` flag and see if that works.

-- 
Ticket URL: <https://trac.macports.org/ticket/68043#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list