From d72f3e31c0a82bf49079a40f5b933096a7498d1d Mon Sep 17 00:00:00 2001 From: Marco Molteni Date: Fri, 22 Nov 2019 21:09:16 +0100 Subject: [PATCH] docs/install: explain how to workaround macOS Gatekeeper requiring notarization Fix #3689 --- docs/content/install.md | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/docs/content/install.md b/docs/content/install.md index adc77663f..e054ec1d5 100644 --- a/docs/content/install.md +++ b/docs/content/install.md @@ -56,7 +56,14 @@ Run `rclone config` to setup. See [rclone config docs](/docs/) for more details. rclone config -## macOS installation from precompiled binary ## +## macOS installation with brew ## + + brew install rclone + +## macOS installation from precompiled binary, using curl ## + +To avoid problems with macOS gatekeeper enforcing the binary to be signed and +notarized it is enough to download with `curl`. Download the latest version of rclone. @@ -81,6 +88,19 @@ Run `rclone config` to setup. See [rclone config docs](/docs/) for more details. rclone config +## macOS installation from precompiled binary, using a web browser ## + +When downloading a binary with a web browser, the browser will set the macOS +gatekeeper quarantine attribute. Starting from Catalina, when attempting to run +`rclone`, a pop-up will appear saying: + + “rclone” cannot be opened because the developer cannot be verified. + macOS cannot verify that this app is free from malware. + +The simplest fix is to run + + xattr -d com.apple.quarantine rclone + ## Install with docker ## The rclone maintains a [docker image for rclone](https://hub.docker.com/r/rclone/rclone).