Warn & document that `uninstall` requires your terminal/sshd to have Full Disk Access
Open
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
- Execute
sudo mas uninstall 682658836. - 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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