Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When "couldn’t be moved to the trash because you don’t have permission to access it", try rm -rf #5

Open
kud opened this issue Mar 30, 2024 · 0 comments

Comments

@kud
Copy link
Owner

kud commented Mar 30, 2024

❯ soap /Applications/One\ Thing.app
Welcome to soap 🧼, the app cleaner.

ℹ  info      You want me to clean this application: One Thing 📦.
ℹ  info      I also assume you gave me an application path. No homebrew cask will be deleted then.

? This is what I've found about it. Please select the files you want to delete. /Applications/One
Thing.app, /private/var/db/receipts/com.sindresorhus.One-Thing.bom,
/private/var/db/receipts/com.sindresorhus.One-Thing.plist, /Users/kud/Library/Application
Scripts/com.sindresorhus.One-Thing, /Users/kud/Library/Application
Scripts/com.sindresorhus.One-Thing.Share-Extension,
/Users/kud/Library/Containers/com.sindresorhus.One-Thing,
/Users/kud/Library/Containers/com.sindresorhus.One-Thing.Share-Extension
✖  error     Something wrong appeared. Check the log below.

Error: Command failed: /usr/local/lib/node_modules/@kud/soap-cli/node_modules/trash/lib/macos-trash /Applications/One Thing.app /private/var/db/receipts/com.sindresorhus.One-Thing.bom /private/var/db/receipts/com.sindresorhus.One-Thing.plist /Users/kud/Library/Application Scripts/com.sindresorhus.One-Thing /Users/kud/Library/Application Scripts/com.sindresorhus.One-Thing.Share-Extension /Users/kud/Library/Containers/com.sindresorhus.One-Thing /Users/kud/Library/Containers/com.sindresorhus.One-Thing.Share-Extension
“One Thing.app” couldn’t be moved to the trash because you don’t have permission to access it.

    at genericNodeError (node:internal/errors:984:15)
    at wrappedFn (node:internal/errors:538:14)
    at ChildProcess.exithandler (node:child_process:422:12)
    at ChildProcess.emit (node:events:519:28)
    at maybeClose (node:internal/child_process:1105:16)
    at Socket.<anonymous> (node:internal/child_process:457:11)
    at Socket.emit (node:events:519:28)
    at Pipe.<anonymous> (node:net:337:12)
    at Pipe.callbackTrampoline (node:internal/async_hooks:130:17) {
  code: 1,
  killed: false,
  signal: null,
  cmd: '/usr/local/lib/node_modules/@kud/soap-cli/node_modules/trash/lib/macos-trash /Applications/One Thing.app /private/var/db/receipts/com.sindresorhus.One-Thing.bom /private/var/db/receipts/com.sindresorhus.One-Thing.plist /Users/kud/Library/Application Scripts/com.sindresorhus.One-Thing /Users/kud/Library/Application Scripts/com.sindresorhus.One-Thing.Share-Extension /Users/kud/Library/Containers/com.sindresorhus.One-Thing /Users/kud/Library/Containers/com.sindresorhus.One-Thing.Share-Extension',
  stdout: '',
  stderr: '“One Thing.app” couldn’t be moved to the trash because you don’t have permission to access it.\n'
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant