I installed mysql recently and added its start command in my .bash file. But when I tried running the command, that's when I encountered this error:

launchctl: Dubious ownership on file (skipping): /Users/newuser/Library/LaunchAgents/com.mysql.mysqld.plist nothing found to load

Does anyone know what it is about?

up vote 3 down vote accepted

According to this discussion, it may be a permissions issue with that .plist.

The article suggests:

A chmod 644 on the plist (logged in as whatever user the home directory corresponds to), run launchctl again, and you should be good.

In addition, I would suggest creating a copy of the .plist in question before changing the permissions.

  • 1
    I am having this issue as well. My permissions are however already set to 644. – Charlotte Mar 14 '12 at 22:35

You've to correct the ownership (in some other cases permission or path) of your .plist file or force the loading by -F.

Here is snapshot from launchctl.c:

if (sb.st_uid != 0 && sb.st_uid != getuid()) {
    fprintf(stderr, "%s: Dubious ownership on file (skipping): %s\n", getprogname(), path);
    return false;

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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