General Question

Paul's avatar

How do I delete a locked app - Mac?

Asked by Paul (2717points) 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

jrpowell's avatar

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.

Paul's avatar

None of the apps are open and this still didn’t work :( anymore ideas?

jrpowell's avatar

Easiest next step is to open Disk Utility and “repair permissions” on the disk.

Vortico's avatar

If you’re careful, open a terminal and type

sudo rm -rf /Applications/<app>.app

jrpowell's avatar

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

Paul's avatar

Thanks you two. The sudo method worked great. Thanks

jrpowell's avatar

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.

Vortico's avatar

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 /

Paul's avatar

@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

Login

or

Join

to answer.

This question is in the General Section. Responses must be helpful and on-topic.

Your answer will be saved while you login or join.

Have a question? Ask Fluther!

What do you know more about?
or
Knowledge Networking @ Fluther