[MacPorts] #30978: can't install logrotate as non-root

Bradley Giesbrecht pixilla at macports.org
Wed Aug 31 08:18:40 PDT 2011


On Aug 30, 2011, at 9:39 PM, MacPorts wrote:

> #30978: can't install logrotate as non-root
> ---------------------------------+------------------------------------------
> Reporter:  nefar@…              |       Owner:  pixilla@…           
>     Type:  defect               |      Status:  new                 
> Priority:  Normal               |   Milestone:                      
> Component:  ports                |     Version:  2.0.1               
> Keywords:                       |        Port:  logrotate           
> ---------------------------------+------------------------------------------
> 
> Comment(by jmr@…):
> 
> The point is that you shouldn't have to deselect a variant to make
> installing as non-root work. You don't have to for ports that let base
> create their startupitems, and that behaviour could easily be recreated
> here by checking the uid.

Good point. Rather then wrap the "default_variants +startupitem" in a getuid test; I removed +startupitem as a default.

As for installing into ~/Library/LaunchAgents/, that does not work for multi-user systems, right?
Each user would need to copy the example plist to  ~/Library/LaunchAgents/, right?


Regards,
Bradley Giesbrecht (pixilla)






More information about the macports-dev mailing list