How do I delete a locked app - Mac?
Asked by
Paul (
2717)
August 8th, 2011
I’m trying to uninstall Chromium on my Macbook Pro and when I try to empty my trash this window pops up, I do what it says and it still will not delete. I am an administrator (only account on the computer) and am running OSX Lion, please help having an app I can’t delete in my trash.
Observing members:
0
Composing members:
0
9 Answers
Pull it out of the trash and place it somewhere that isn’t the trash. Do a get info on it. Click the lock in the lower right of the get info window. Set all the permissions to every and try to delete it again.
And are you sure the app isn’t actually open.
None of the apps are open and this still didn’t work :( anymore ideas?
Easiest next step is to open Disk Utility and “repair permissions” on the disk.
If you’re careful, open a terminal and type
sudo rm -rf /Applications/<app>.app
sudo rm -rf will do the trick but it is kinda scary. One trick is that you can drag the app to the Terminal window and it will fill in the path to it. Pic
Thanks you two. The sudo method worked great. Thanks
Keep in mind that if you mess up the path a little bit you can delete your entire user folder. sudo rm -rf is one of those things that shouldn’t become a habit.
Although it worked for you, I should have put quotes around the path in case of a space in the app’s name. Placing a backslash before spaces in the path would work as well.
sudo rm -rf ”/Applications/<app>.app”
Also, to demonstrate the danger, this will attempt to delete everything on your computer.
sudo rm -rf /
@Vortico the directory the app was located was /Trash so I did change it up a bit.
Jesus, I sure hope I never have to use that command again!
Answer this question
This question is in the General Section. Responses must be helpful and on-topic.