From 601d3bc0b8f5539e23bd2c471846a1d2bfde1676 Mon Sep 17 00:00:00 2001 From: fria <138676274+friadev@users.noreply.github.com> Date: Tue, 26 Nov 2024 06:33:50 -0600 Subject: [PATCH] add reset TCC info --- content/posts/macos/macOS Security Overview/index.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/content/posts/macos/macOS Security Overview/index.md b/content/posts/macos/macOS Security Overview/index.md index d6de8cf..fa71c43 100644 --- a/content/posts/macos/macOS Security Overview/index.md +++ b/content/posts/macos/macOS Security Overview/index.md @@ -86,6 +86,18 @@ macOS has permissions that apply to all software across the system, called Trans The Downloads, Desktop, Documents, Movies, Music, and Pictures folders for each user in particular are protected by permissions and thus are more secure than other places you might save your files. Consider using these folders for particularly sensitive data. +TCC doesn't have temporary permissions, so it can be useful to reset all premissions for an app at once. To do this, first find the app's bundle ID by running the command: + +```zsh +osascript -e 'id of app "[name of app]"' +``` + +Reset the permissions with the command: + +```zsh +sudo tccutil reset All [app.bundle.id] +``` + ## XProtect XProtect is the built-in antivirus software in macOS. Like all AV, it's a last line of defense after all others have been bypassed.