--with-no-root-privileges should imply --without-startupitems
I can't install Macports with root (I don't have sudo access) so I installed it in my home folder. Everything works but installing rsync
> which port
/Users/myuser/macports/bin/port
> port install rsync
---> Computing dependencies for rsync
---> Activating rsync @3.1.3_0
Error: Failed to activate rsync: error renaming "/Users/myuser/macports/var/macports/software/rsync/mpextract7Hgpoq3O/Users/myuser/macports/etc/LaunchDaemons/org.macports.rsyncd.plist" to "/Library/LaunchDaemons/org.macports.rsyncd.plist": permission denied
Error: See /Users/myuser/macports/var/macports/logs/_Users_myuser_macports_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_rsync/rsync/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port rsync failed
I also can't find a maintainer:
> port info --maintainer rsync
maintainer:
Change History (4)
Keywords: |
non-root removed
|
Component: |
ports →
base
|
Port: |
rsync removed
|
Summary: |
rsync @3.1.3_0: Needs root access to install →
--with-no-root-privileges should imply --without-startupitems
|
Type: |
defect →
enhancement
|
Owner: |
set to jmroot
|
Resolution: |
→ fixed
|
Status: |
new →
closed
|
Milestone: |
→ MacPorts 2.7.0
|
For a non-root configuration you need to set
startupitem_install no
in macports.conf. Leaving this open as a request to set that automatically when configured with the --with-no-root-privileges option.