29

Every time I restart my computer, it tries to "add a new helper tool". For instance I have to reinstall shell commands in Atom on every restart, and it prompts with the "An update is ready to install." But I see this same issue with other programs too.

Atom installs /usr/local/bin/atom -- but then when I restart it's gone.

I get the same thing from MAMP that it "wants to make changes".

And Slack gives me the same thing as Atom on every restart:

Slack is trying to add a new helper tool.

An update is ready to install. Slack is trying to add a new helper tool.

Enter an administrator's name and password to allow this.

Add Helper

Let me know what other information I can give.

1
  • Removing and reinstalling the app should also fix it.
    – maxhodges
    Oct 2 '20 at 5:27
20

Try changing the ownership of Atom.app. In my case, Atom.app was found in /Applications, and ownership was:

drwxr-xr-x   3 1699963712  365896978    102 Dec  8 12:48 Atom.app

I ran the following command:

sudo chown -R $USER:wheel /Applications/Atom.app

In my case, any program with ownership of root or the numeric code listed above would have a popup a few seconds after opening. Changing ownership of the .app directory corrected the behavior and I don't see it anymore.

I found the information at this site.

1
  • I don't see anything Atom-related but the Slack app inside ~/Applications was owned by root so chown -R fixed it.
    – Elliott
    Aug 20 at 19:06
1

Searching for the application and manually dragging it into the Applications folder also worked for me.

0
0

I had this annoying issue with Skype. The solution was:

  1. Enable root on MAC: https://support.apple.com/en-us/HT204012
  2. cd /Library/PrivilegedHelperTools
  3. su root This step requires login with admin privileges
  4. rm com.skype.Helper
5
  • Could you just run sudo rm /Library/PrivilegedHelperTools/com.skype.Helper without enabling root? Your answer is helpful though. Jan 22 '18 at 19:39
  • 5
    Enabling the root user on a Mac can open major security holes, especially for end users. If you need to use the root user by command line, I recommend using an administrator user, typing sudo su to switch to root. It will ask for a password. Feb 11 '18 at 2:24
  • For me the file was named com.skypinstaller...
    – James
    Mar 5 '18 at 20:58
  • sudo rm ... will ask for a password too not sure why it seems less secure? @juniorRubyist
    – alper
    Feb 25 at 12:29
  • This did not work on my end
    – alper
    Jun 1 at 10:14
0

Here's my solution: run any OS X atom-based apps such as Slack or Signal out of your ~/Applications directory.

The root of the problem is that these apps were installed system-wide via a mechanism like Homebrew, or manually by you and owned by root. So the easy/quick workaround is to copy them to a place where your current user has write access:

killall Slack && rsync -av --delete /Applications/Slack.app/ ~/Applications/Slack.app/ && open ~/Applications/Slack.app

Now when the atom application's built-in update mechanism tries to write to its files, it can! No more annoying pop-up windows!

5
  • Got The application cannot be opened for an unexpected reason, error=Error Domain=NSOSStatusErrorDomain Code=-10827 "kLSNoExecutableErr: The executable is missing" UserInfo={_LSLine=3691, _LSFunction=_LSOpenStuffCallLocal} after the open ~/Applications/Slack.app step. Ultimately went with the answer with more votes and it worked. May 18 at 13:49
  • The application cannot be opened for an unexpected reason, error=Error Domain=NSOSStatusErrorDomain Code=-10827 "kLSNoExecutableErr: The executable is missing" UserInfo={_LSLine=3762, _LSFunction=_LSOpenStuffCallLocal}
    – alper
    Jun 29 at 22:56
  • @alper was it also Slack that was broken for you? Jun 30 at 15:20
  • I wonder if my command was not clearing out old Slack.app state. I added --delete above in case that was the problem. @MariusButuc can you try it again with the updated command above? Jun 30 at 15:23
  • @EdwardTeach No sir I was using ` CleanMyMac X. Why are you using rsync -av --delete` can't we just carry the app to the location we can by carry and drop
    – alper
    Jun 30 at 18:58

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .