Ticket #10879 (assigned enhancement)
RFE: apache2 and other ports won't install as non-root users
| Reported by: | plambert@… | Owned by: | imajes@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | MacPorts base enhancements |
| Component: | base | Version: | |
| Keywords: | Cc: | ||
| Port: |
Description
Installed macports from source with --disable-launchd-support and tried to install apache2. The install failed as follows:
---> Creating systemstarter control script Error: Target com.apple.destroot returned: could not set owner for file "/ngs/lpp/macports/var/db/dports/build/_ngs_lpp_macports_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_www_apache2/work/destroot/Library/StartupItems/apache2": not owner Warning: the following items did not execute (for apache2): com.apple.activate com.apple.destroot com.apple.install Error: Status 1 encountered during processing.
There should either be a variant to each port with a startupitem to not create it, or better, 'port' should not attempt to chown startupitems when it's not running as root and not installing as root.
Change History
Note: See
TracTickets for help on using
tickets.

