mas-cli / mas-cli/mas

Warn & document that `uninstall` requires your terminal/sshd to have Full Disk Access

Open
#637 14 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

cleanup output
Dominant language
Swift
Stars
12.4k
Forks
299
Avg merge
1d 2h
Merged PRs (30d)
1

Description

Your Environment

  • mas version: 1.8.7
  • macOS version (system_profiler SPSoftwareDataType -detailLevel mini): macOS 14.7 (23H124)
mas Install Method

brew install mas (homebrew-core)

Describe the Bug

When trying to uninstall apps (previously installed from the GUI, if that matters somehow), it errors with the following:

Error: Runtime Error: Failed to revert ownership of deleted '/Applications/GarageBand.app' back to uid 501 & gid 20: delete result did not have a URL

To Reproduce

  1. Execute sudo mas uninstall 682658836.
  2. Provide password if requested.

Expected Behavior

It should be able to uninstall it.

Actual Behavior

It errors out and apparently does nothing to the app.

Screenshots, Terminal Output

$ sudo mas uninstall 682658836
Error: Runtime Error: Failed to revert ownership of deleted '/Applications/GarageBand.app' back to uid 501 & gid 20: delete result did not have a URL

Additional Context

I don't know if it worked in a previous version. Just started using 'mas'.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing sudo mas uninstall 682658836 on macOS and inspect the CLI documentation or help text for uninstall. Document that the terminal or sshd needs Full Disk Access, and add a warning that explains the resulting failure when access is missing.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos, swift
Domain
cli, documentation, operating-systems
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.