Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question

marked as duplicate by Mark, bmike May 21 '15 at 1:43

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

If you're in /Library/LaunchDaemons, which I assume you are for a system daemon, and want the files to go back to default:

sudo chown root:wheel org.jenkins-ci.plist
sudo chmod 644 org.jenkins-ci.plist

The plist will register on reboot, or you can load it like this:

sudo launchctl load org.jenkins-ci.plist

You can check the status like this:

sudo launchctl list <<Job Name>>

Note that jobname is not the same as file name. Inside the plist you'll see a Label. That's the name:


In my example the name is DataScrub, so would be:

sudo launchctl list DataScrub
share|improve this answer
it worked! thanks. Not registered yet. – Code Droid Sep 13 '12 at 20:57
Added some launchctl info for you. – Alex Sep 14 '12 at 15:10

Not the answer you're looking for? Browse other questions tagged or ask your own question.