On 18 Sep 2010, at 20:15, Jeremy Huddleston wrote: > On Sep 18, 2010, at 12:01, Nick Ludlam wrote: > >> ########################################################### >> # You can run <port name> now, and configure it to start >> # automatically during boot by executing the following >> # command: >> # >> # sudo port load <port name> >> # >> # To stop <port name>, and prevent it from from starting >> # automatically during boot, execute the following command: >> # >> # sudo port unload <port name> >> ########################################################### >> >> Thoughts? > > Do we "do the right thing" by not having them use 'sudo' for LaunchAgents on > Snow Leopard?
Well in my case, the port I'm loading uses setgid() to run as 'nobody', so it does require root privs, else you see: 18/09/2010 20:32:17 org.macports.beanstalkd[10277] /opt/local/bin/beanstalkd: beanstalkd.c:95 in su: setgid(-2 "nobody"): Operation not permitted in the logs. I'm sure there are many cases where using sudo is unavoidable.
_______________________________________________ macports-dev mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev
