Opened 6 years ago

Closed 4 years ago

Last modified 4 years ago

#56743 closed enhancement (fixed)

--with-no-root-privileges should imply --without-startupitems

Reported by: squarepegsys (Mike Hostetler) Owned by: jmroot (Joshua Root)
Priority: Normal Milestone: MacPorts 2.7.0
Component: base Version: 2.5.2
Keywords: Cc:
Port:

Description

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)

comment:1 Changed 6 years ago by mf2k (Frank Schima)

Keywords: non-root removed

comment:2 Changed 6 years ago by jmroot (Joshua Root)

Component: portsbase
Port: rsync removed
Summary: rsync @3.1.3_0: Needs root access to install--with-no-root-privileges should imply --without-startupitems
Type: defectenhancement

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.

comment:3 Changed 4 years ago by jmroot (Joshua Root)

Owner: set to jmroot
Resolution: fixed
Status: newclosed

In a18eb94efc347e1d2e8bc1c09702bcdf4cfacb83/macports-base (master):

Change startupitem_install default if not root

Closes: #56743

comment:4 Changed 4 years ago by jmroot (Joshua Root)

Milestone: MacPorts 2.7.0
Note: See TracTickets for help on using tickets.