Brew uninstall--zap < cask > reports permission error, is anyone like me?

by Poster May 6, 2025 2
macOS: 14.7.5-arm64 HOMEBREW _ VERSION: 4.5. 0 # 1, install a cask ` ` ` shell brew install motrix = = > Downloading https://github.com/agalwood/Motrix/releases/download/v1.8. 19/Motrix-1. 8.19-arm64. dmg Already downloaded:/Users/logan/Library/Caches/Homebrew/downloads/d1ee2fdb2bf9526a7ca9b4e7af1e32a438ec0d3fda037504377b3bfaf755d166--Motrix-1. 8.19-arm64. dmg = = > Installing Cask motrix = = > Moving App 'Motrix.app'to'/Applications/Motrix.app ' 🍺 motrix was successfully installed! ``` # 2, open the app, and quit # 3, uninstall with--zap ` ` ` shell Brew uninstall--zap motrix = = > Implied ` brew uninstall--cask motrix ` = = > Backing App 'Motrix.app'up to'/opt/homebrew/Caskroom/motrix/1. 8.19/Motrix.app ' = = > Removing App '/Applications/Motrix.app' = = > Dispatching zap stanza Trashing files: ~/Library/Application Support/Motrix ~/Library/Caches/app.motrix.native ~/Library/Logs/Motrix ~/Library/Preferences/app.motrix.native.plist ~/Library/Saved Application State/app.motrix.native.savedState = = > Using sudo to gain ownership of path '/Users/logan/Library/Application Support/Motrix' Password: chown:/Users/logan/Library/Application Support/Motrix: No such file or directory = = > Using sudo to gain ownership of path '/Users/logan/Library/Logs/Motrix' chown:/Users/logan/Library/Logs/Motrix: No such file or directory = = > Using sudo to gain ownership of path '/Users/logan/Library/Preferences/app.motrix.native.plist' chown:/Users/logan/Library/Preferences/app.motrix.native.plist: No such file or directory Warning: The following files could not be trashed, please do so manually: /Users/logan/Library/Application Support/Motrix /Users/logan/Library/Logs/Motrix /Users/logan/Library/Preferences/app.motrix.native.plist = = > Removing all staged versions of Cask'motrix ' ``` # Question Before I was prompted for the password, Homebrew had deleted the app's related files and moved them to the trash. Subsequently, it tries to perform an operation on these files, but they no longer exist: No such file or directory. Is anyone else like this?

Replies

  • Anonymous6038 May 6, 2025
    Encountered the same problem, it should be fixed by Homebrew's bug, etc.
  • Poster May 6, 2025
    @ Anonymous6038 I raised the issue last night, but I'm afraid it's my problem, it turns out it's not, that's good