Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Google Chrome Canary cask installed via Nix will not auto-update #1030

Open
victorhooi opened this issue Aug 7, 2024 · 1 comment
Open

Comments

@victorhooi
Copy link

I have a macOS machine, with Nix, and Nix-darwin setup (using these templates).

I've just added the Google Chrome Canary cask to my system.

However, I've noticed that the app will not auto-update itself due to an error:

CleanShot 2024-08-07 at 10 05 35@2x

From what I can tell - it seems to be a permissions error:

https://support.google.com/chrome/thread/253456872/chrome-update-failed-error-code-9-extra-code-0?hl=en

The Google Chrome Canary app seems to have been installed with the wrong permissions for the auto-updater:

 ls -lah /Applications | grep Chrome
drwxr-xr-x@  3 foobar  staff    96B May 28 04:22 Google Chrome Canary.app
drwxr-xr-x@  3 root       wheel    96B Jul 30 09:17 Google Chrome.app
bytedance@H36H4NQQKK /Applications>

The Google Chrome app was installed normally, whilst the Google Chrome Canary app was installed using Nix, via a Homebrew cask.

Do you know if it's possible to fix it, so that it copies it with the correct permissions please?

@bnjmnt4n
Copy link

It's unlikely that this has anything to do with Nix/nix-darwin, since it was installed via Homebrew. Perhaps you could try to remove/re-add the cask and uninstall/reinstall the application.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants