Can’t install Core Helper 2


(Sylvain Desbureaux) #1

Hello, I can’t install Core Helper 2 :confused:. When I click on install, I have “There were problem writing to the file”.

I’m on Mojave but it has also occurred when I was on High Sierra (but after a while, it started to work…)

Any clues?


Core Tunnel 1.3 Release Notes
(Yang.Y) #2

Could you please take a screenshot of the error dialog? And, did you find any information relates to Core Helper in the Console.app (Filtering by keywords “core helper”)?


(Sylvain Desbureaux) #3

the error dialog is not really self expressive :wink:

18

I’ve found an error on the console when launching Core Helper 2:
Core Helper Installer: Unable to load Info.plist exceptions (eGPUOverrides)


(Yang.Y) #4

If you search “Unable to load Info.plist exceptions” in Console.app, you will find lots of log items from various apps, it seemed harmless.

The error dialog actually reveals a clue, the warning icon shows it’s from Core Helper Installer itself, and there is only one place tries to alert error – writing essential files for the launch agent.

Could you please execute these three commands, and send back the output?

ls -la ~/Library/ | grep LaunchAgents
ls -la ~/Library/LaunchAgents/
ls -la ~/Library/Group\ Containers/E78WKS7W4U.io.coressh/

(Sylvain Desbureaux) #5

hello here’s the command results:

ls -la ~/Library/ | grep LaunchAgents    
drwxr-xr-x    8 root     staff    256 Jun 15 09:32 LaunchAgents
ls -la ~/Library/LaunchAgents/  
total 48
drwxr-xr-x   8 root     staff   256 Jun 15 09:32 .
drwx------@ 83 sylvain  staff  2656 Sep 25 16:12 ..
-rw-r--r--   1 root     staff   445 May 24  2017 com.lastpass.LastPassHelper.plist
-rw-r--r--   1 sylvain  staff   577 Jun 15 09:32 com.movavi.maccleaner2.rammonitor.plist
-rw-r--r--   1 sylvain  staff   574 Jun 15 09:32 com.movavi.maccleaner2.scheduler.plist
-rw-r--r--   1 sylvain  staff   612 Jun 15 09:32 com.movavi.maccleaner2.trashmonitor.plist
-rw-r--r--   1 sylvain  staff   512 Jun 15 09:32 com.movavi.maccleaner2.trayagent.plist
-rw-r--r--@  1 sylvain  staff   677 Sep 25 17:05 org.virtualbox.vboxwebsrv.plist
ls -la ~/Library/Group\ Containers/E78WKS7W4U.io.coressh/                
total 0
drwx------   4 sylvain  staff   128 Oct  2 16:00 .
drwx------  40 sylvain  staff  1280 Oct  2 14:27 ..
drwx------   5 sylvain  staff   160 Jul 14 14:50 Library
drwxr-xr-x@  3 sylvain  staff    96 Sep  6 11:56 io.coressh.Helper.app

And fyi:

ls -la ~/Library/Group\ Containers/E78WKS7W4U.*  
/Users/sylvain/Library/Group Containers/E78WKS7W4U.com.codinn.ssh:
total 0
drwx------   4 sylvain  staff   128 Oct 10  2017 .
drwx------  40 sylvain  staff  1280 Oct  2 14:27 ..
drwx------   5 sylvain  staff   160 Oct 10  2017 Library
drwx------@  3 sylvain  staff    96 Oct 10  2017 identities

/Users/sylvain/Library/Group Containers/E78WKS7W4U.io.coressh:
total 0
drwx------   4 sylvain  staff   128 Oct  2 16:00 .
drwx------  40 sylvain  staff  1280 Oct  2 14:27 ..
drwx------   5 sylvain  staff   160 Jul 14 14:50 Library
drwxr-xr-x@  3 sylvain  staff    96 Sep  6 11:56 io.coressh.Helper.app

/Users/sylvain/Library/Group Containers/E78WKS7W4U.io.coressh.ssh:
total 0
drwx------   5 sylvain  staff   160 May 28 10:52 .
drwx------  40 sylvain  staff  1280 Oct  2 14:27 ..
drwx------@  6 sylvain  staff   192 Sep 13 10:29 .ssh
drwx------   5 sylvain  staff   160 May 28 10:52 Library
drwx------@  4 sylvain  staff   128 Sep  7 14:00 Logs

(Sylvain Desbureaux) #6

I tried to change owner of ~/Library/LaunchAgents to myself but still no luck :confused:

ls -la ~/Library/ | grep LaunchAgents
drwxr-xr-x    8 sylvain  staff    256 Jun 15 09:32 LaunchAgents

(Yang.Y) #7

Thanks a lot for the output. Core Helper Installer tries to write a launchd configuration file E78WKS7W4U.io.coressh.helper.plist to the folder ~/Library/LaunchAgents, but apparently it failed to do so.

Could you please check the permission of the folder ~/Library by executing:

ls -la ~ | grep Library

(Sylvain Desbureaux) #8

seems to be correct:

ls -la ~ | grep Library
drwx------@  83 sylvain  staff       2656 Sep 25 16:12 Library

fyi, I can do:

$ touch Library/toto
$ ls -l Library/toto
-rw-r--r--  1 sylvain  staff  0 Oct  3 11:45 Library/toto
$ touch Library/LaunchAgents/toto
$ ls -l Library/LaunchAgents/toto
-rw-r--r--  1 sylvain  staff  0 Oct  3 11:46 Library/LaunchAgents/toto
$ rm Library/LaunchAgents/toto
remove Library/LaunchAgents/toto? y
$ ls -l Library/LaunchAgents/toto
ls: Library/LaunchAgents/toto: No such file or directory
$ rm Library/toto
remove Library/toto? y
$ ls -l Library/toto
ls: Library/toto: No such file or directory

(Sylvain Desbureaux) #9

I don’t know what happened but it worked!

ls -la ~/Library/LaunchAgents/
total 56
drwxr-xr-x   9 sylvain  staff   288 Oct  3 11:48 .
drwx------@ 83 sylvain  staff  2656 Oct  3 11:46 ..
-rw-r--r--   1 sylvain  staff   675 Oct  3 11:48 E78WKS7W4U.io.coressh.helper.plist
-rw-r--r--   1 root     staff   445 May 24  2017 com.lastpass.LastPassHelper.plist
-rw-r--r--   1 sylvain  staff   577 Jun 15 09:32 com.movavi.maccleaner2.rammonitor.plist
-rw-r--r--   1 sylvain  staff   574 Jun 15 09:32 com.movavi.maccleaner2.scheduler.plist
-rw-r--r--   1 sylvain  staff   612 Jun 15 09:32 com.movavi.maccleaner2.trashmonitor.plist
-rw-r--r--   1 sylvain  staff   512 Jun 15 09:32 com.movavi.maccleaner2.trayagent.plist
-rw-r--r--@  1 sylvain  staff   677 Sep 25 17:05 org.virtualbox.vboxwebsrv.plist

(Yang.Y) #10

Good news anyway :wink:

The problem is very like caused by the owner of ~/Library/LaunchAgents was changed to root accidentally.

I’m going to close this bug report, anyone who run into similar problem please make a new topic.