Ticket #30978 (closed defect: fixed)
can't install logrotate as non-root
| Reported by: | nefar@… | Owned by: | pixilla@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 2.0.1 |
| Keywords: | Cc: | jmr@… | |
| Port: | logrotate |
Description
---> Activating logrotate @3.8.0_1+gzip+startupitem Error: Target org.macports.activate returned: error renaming "/var/folders/Rt/RtlcSSmbEGaAtnBHeaIrTU+++TI/-Tmp-/mpextractVf2SkO7c/Library/LaunchDaemons/org.macports.logrotate.plist" to "/Library/LaunchDaemons/org.macports.logrotate.plist": permission denied
For non-root, it should use:
~/Library/LaunchAgents/
Change History
comment:2 Changed 21 months ago by jmr@…
You could not create the link in /Library/LaunchDaemons when [getuid] != 0 like base does.
comment:3 Changed 21 months ago by pixilla@…
- Cc jmr@… added
jmr: Is your message for me? If so I do not understand.
If one uses the -startupitem variant then no startupitem is installed into /Library/LaunchDaemons.
The example plist can be copied into ~/Library/LaunchAgents if so desired.
Note: See
TracTickets for help on using
tickets.


Check out the notes:
If you install without the startupitem variant no plist is installed. You can then do as you wish.