Launchd Starting LaunchAgents as a specific user.
I have a couple of launch items that I need to show up in root's launchd list because I have them run as other users on startup. For example, I have a user called "backups" that uses rsync to pull information form some servers I manage out in the world. Because of how I have set up permissions, I need it to run as that user. However, when I log in, it shows up in MY list of jobs.
This fails because even though I am an administrator, it appears that I do not have the capability (I'm a unix guy, so this makes sense to me) to reset a job as a user.
It is easily remedied after boot by unloading it from my queue, and loading it into root's queue.
The files are located in /Library/LaunchAgents, and are owned by root.
Anyone have a suggestion to fix this?
Mac Pro (2008), Mac OS X (10.5.2)