4

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?

picardo
  • 2,607

2 Answers2

3

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.

CaseyIT
  • 3,361
0

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;
}
kenorb
  • 26,615