This question already has an answer here:
I'm trying to install Jenkins on 10.6.8 and part of this requires that modify the plist launch daemon. org.jenkins-ci.plist which is owned by root. I was using admin and I gave admin permission to write this file. I used this permission to make the admin the jenkins user and set the home directory to be the admin user directory. However now I cannot run the launch daemon.
launchctl: Dubious permissions on file (skipping)
Now I realize this is due to a security issue with having given myself this permission. The plist now has my admin user as the user for jenkins. Should I now just remove the write privileges and all is good (admin can now be the jenkins user) or not?
Update: I did
sudo chown root org.jenkins-ci.plist and it still feels things are dubious.