Skip to content
86% off$349 $48.86code BF2026

Docs

Gigabroom docs29 pages

Fix "You do not have permission to move the file to the trash"

You do not have permission to move the file to the Trash? Why root-owned apps do it, how to remove them with an admin password, and what Gigabroom covers.

Updated 5 min read

On this page

You tried to delete an app and got this:

You do not have permission to move the file "TextWrangler" to the trash

The same message appears with other app names. Some people see it as "couldn't be moved to the trash" or a plain "permission denied" after a macOS update. This page covers the causes, the fixes in order, and what to send to support if none of them work.

Why the message appears

The causes below are listed from most common to least common.

  1. The app is owned by root, not by you. Apps installed with a .pkg installer or from the Mac App Store are often owned by the system administrator. So are some apps carried over by Migration Assistant, which can preserve root:wheel ownership from the old Mac. Your user account can't move something it doesn't own without an administrator password.
  2. The app is running. A running app can't be moved, and some helpers keep running after you close the window.
  3. The file is locked. A locked flag on the app or a file inside it makes the move fail. Some tools report this as Finder error -45.
  4. The tool lacks access to protected folders. A cleaner without Full Disk Access can't read or move some Library data. People on forums report that granting it fixed repeated "permission denied" errors in their uninstaller. That depends on the tool, and it is not a way around the password prompt for root-owned apps.
  5. The app is part of macOS. Apple's own apps and anything under /System are protected and can't be removed.

Fix it in Finder

1. Quit the app

  1. Quit the app from its own menu, or right-click its Dock icon and choose Quit.
  2. If it still seems to be running, open Activity Monitor, search for the app's name and quit the process.

2. Move it to the Trash and enter the password

  1. Open the Applications folder in Finder.
  2. Drag the app to the Trash, or right-click it and choose Move to Trash.
  3. When Finder asks, enter the name and password of an administrator account and click OK.

3. Clear the Locked flag

If a tool reports error -45 or says the file is locked:

  1. Select the app in Finder and press ⌘I (Command-I) to open Get Info.
  2. Clear the Locked checkbox.
  3. Try the move again.

Gigabroom has no dedicated step for locked files, so do this one in Finder.

Fix it with Gigabroom's Uninstaller

Gigabroom never raises its own privileges. For root-owned apps it hands the move to Finder, which asks for the password.

  1. Open Gigabroom and choose Uninstaller in the sidebar (⌘5).
  2. Pick the app in the Apps list, or drop the .app onto the window.
  3. Click Uninstall….
  4. For a root-owned app, Gigabroom shows Uninstall <App> with Finder? Click Move to Trash with Finder…. The other buttons are Reveal in Finder and Cancel.
  5. Enter your administrator password in Finder's prompt.

The app moves first. Its related files in ~/Library follow only if the app actually moved, so you aren't left with leftovers for an app that is still installed. For apps your account owns, Gigabroom shows its normal Uninstall <App>? confirmation and moves them itself.

System-wide leftovers

Some apps also leave files in /Library, outside your home folder. Gigabroom lists these in a collapsed System-wide row marked Needs Administrator. Nothing there is pre-selected, and Gigabroom never removes these items itself. Use Move to Trash with Finder… and Finder asks for the password.

If a match starts a launch agent or daemon, the row also offers Login & Background Items…, which opens System Settings. Changes to launch agents and daemons take effect after a restart.

Where Full Disk Access fits

Full Disk Access is optional in Gigabroom. It lets the app read protected places such as Mail, Safari and some Library data, and see inside your home Trash. Without it, scan totals can come out a bit low. It does not replace the administrator password for root-owned apps, which always go through Finder.

To grant it anyway:

  1. Open Gigabroom's Settings (⌘,), go to Access, and click Open Settings… next to Full Disk Access. You can also open System Settings and search for "Full Disk Access".
  2. Turn Gigabroom on. If it isn't listed, click + and choose Gigabroom from Applications.
  3. Rescan afterwards.

What each message means

Message or symptomCauseFix
Quit <App> before uninstalling it.The app is running.Quit it (check the menu bar and Dock), then retry.
<App> is part of macOS and can't be removed.Apple apps and anything under /System are refused.None. macOS needs them.
Gigabroom can't uninstall itself.Gigabroom won't remove itself.Drag Gigabroom to the Trash in Finder.
<App> wasn't uninstalled / Finder didn't move itThe Finder step failed.Retry and enter an administrator password.
System files weren't movedThe password prompt was cancelled or rejected.Run Move to Trash with Finder… again.
N couldn't be moved…Some items failed or were skipped.Read the listed reasons. The banner stays until you dismiss it.

Checklist before you try again

  • The app and its helpers are quit.
  • You are logged in as an administrator, or you know an administrator's name and password.
  • The Locked box is cleared in Get Info.
  • The app is not an Apple app or under /System.
  • You will empty the Trash afterwards, because space only comes back then.

If nothing works

If Finder still refuses after you enter an administrator password, contact Apple Support. If the app itself seems to be the problem, contact its developer. For Gigabroom questions, use the support page. Include the app's name and version, your macOS version, the exact message, and the steps you already tried.

text
Hello,

I can't move "TextWrangler" to the Trash on macOS (version). Finder says:
"You do not have permission to move the file "TextWrangler" to the trash".

I already tried: quitting the app, moving it in Finder with an administrator
password, and clearing the Locked checkbox in Get Info.
The owner shown by ls -ld is: (root or my username).

Please advise.

Common questions

Can Gigabroom bypass the password for root-owned apps?

No. It never escalates by itself. It offers Move to Trash with Finder…, and Finder asks for the password.

Will this remove the app's leftover files too?

In Gigabroom, related ~/Library files follow the app once it has moved. Files in /Library appear under System-wide and are moved separately through Finder.

Does AppCleaner handle this?

AppCleaner is a free uninstaller that finds an app's related files, per its official page. Its sources don't say how it handles root-owned apps, so I can't confirm either way.

Why did the Trash not free any space?

Moving to the Trash frees nothing. Empty the Trash to get the space back.

Every app.
One purchase.