[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 20:43:50 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:          |
---------------------+--------------------
Changes (by ryandesign):

 * version:   => 2.8.0


Comment:

 MacPorts 2.8.0 is outdated; please update to 2.8.1.

 When you say "in non-sudo mode" what do you mean exactly? Do you mean that
 you built MacPorts base from source using the `--with-no-root-privileges`
 flag and that you are not using `sudo` when running the `port` command? If
 so, everything MacPorts does would happen within the abilities of the
 current user. Files and directories created by the user would be owned by
 that user and unless the user has the permission to do this (and that
 would be unusual), it's not possible to change the ownership of files or
 directories to someone else. Therefore, the symptoms you're reporting
 suggest that you ''are'' using MacPorts in the normal way using `sudo` and
 ''not'' in non-`sudo` mode.

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


More information about the macports-tickets mailing list