From 5c5bff0c13e87c3ae90c0f040bf402f564391c7f Mon Sep 17 00:00:00 2001 From: Michele Cereda Date: Tue, 21 Jan 2025 21:04:11 +0100 Subject: [PATCH] fix(osx): gatekeeper exclusion can be recursive --- knowledge base/mac os x/README.md | 1 + snippets/osx.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/knowledge base/mac os x/README.md b/knowledge base/mac os x/README.md index 55cbf66..650b9f3 100644 --- a/knowledge base/mac os x/README.md +++ b/knowledge base/mac os x/README.md @@ -183,6 +183,7 @@ xattr -c '/path/to/app.app' # Bypass Gatekeeper for all versions of apps. xattr -d 'com.apple.quarantine' '/path/to/app.app' +xattr -dr 'com.apple.quarantine' '/path/to/directory' ``` ## Taking screenshots diff --git a/snippets/osx.sh b/snippets/osx.sh index 46deaf0..756f7c4 100644 --- a/snippets/osx.sh +++ b/snippets/osx.sh @@ -12,6 +12,7 @@ xattr -c '/Applications/Spotify.app' # Bypass Gatekeeper for all versions of apps xattr -d 'com.apple.quarantine' '/Applications/LibreWolf.app' xattr -d 'com.apple.quarantine' '/Applications/Zen Browser.app' +xattr -dr 'com.apple.quarantine' '/path/to/directory' # Clear the DNS cache