Skip to content

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

@kud

Description

@kud
❯ 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'
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions