vintlin/computer-care-skills/permissions-fix

Claude Code and agent skill by vintlin/computer-care-skills

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Use when a macOS app, script, launchd job, CLI, or background process gets permission denied / Operation not permitted, Full Disk Access, Files and Folders, TCC, sandbox, or protected Library/Containers access errors, or TCC permission drift after moving, rebuilding, or re-signing a binary.

Install

npx vskill@latest install vintlin/computer-care-skills/permissions-fix

SKILL.md

Permissions Fix

Overview

This skill covers macOS privacy permissions (TCC). Privacy permissions are granted to the exact app or executable that accesses protected data. Identify which binary is denied before asking the user to change Full Disk Access, Files and Folders, Automation, or related privacy settings.

Do not claim permissions were granted programmatically. macOS usually requires a user-authenticated UI action.

When to Use

Use for:

  • Permission denied errors on protected paths — Operation not permitted when accessing Desktop, Documents, Downloads, iCloud Drive, Mail, Messages, Photos, ~/Library/Containers, or when a CLI tool needs Full Disk Access or Files and Folders permission.
  • LaunchAgents/LaunchDaemons that work interactively but fail in the background.
  • TCC permission drift after moving, rebuilding, or re-signing a binary.

Workflow

  1. Capture the exact error, path, executable, and launch context.
  2. Resolve the executable path that macOS sees:

``bash ps -axo pid,ppid,comm,args | grep '<process-name>' readlink -f /path/to/binary 2>/dev/null || realpath /path/to/binary ``

  • Do not add the shell app when the failing process is a separate compiled binary. Fix the actual denied binary.
  1. Check whether the failure is limited to protected paths.
  2. If Full Disk Access is likely required, guide the user to:

System Settings -> Privacy & Security -> Full Disk Access.

  • Do not assume sudo bypasses TCC; privacy permissions still apply.
  1. Add the actual app or binary, then restart the app/job.
  2. Re-run the failing command and verify the protected path can be read.
  • Do not run tccutil reset unless the user accepts resetting prompts for that service.
  • Do not edit TCC databases directly.

Helper Script

If present, scripts/fda-grant-walkthrough.sh can prepare the manual grant:

bash
bash scripts/fda-grant-walkthrough.sh /absolute/path/to/binary
bash scripts/fda-grant-walkthrough.sh --check /absolute/path/to/binary

The helper may open System Settings and copy a path to the clipboard, but the user still performs the permission grant.

Common Fixes

SymptomLikely fix
Terminal command works, launchd failsGrant FDA to the launchd-spawned binary, not only Terminal
Rebuilt binary lost accessRe-add the new signed binary or app bundle
App can read normal files but not app containersFull Disk Access or app-specific privacy permission
Permission dialog never appearsOpen System Settings manually and add the executable

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/vintlin/computer-care-skills/permissions-fix/badge)](https://verified-skill.com/skills/vintlin/computer-care-skills/permissions-fix)

Something wrong with this skill or its page? Tell us.