Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

shanner

macrumors member
Original poster
Jul 21, 2004
65
0
Hi.
I put a downloaded file in the trash but can't empty the trash because the file is locked and i can't get it out now because apparently i don't have sufficient priviliges?!?!
any ideas?
Thanks.
 
Hold the "Option" Key when you select "Empty Trash" in the menu bar.

If that doesn't work then see the latest issue of "MacAddict" they have a terminal command that will absolutely empty the trash.

If I had it here at work I'd copy it here for you, or if you want I'll post when I get home.

Good Luck
 
rm -rf .Trashes/*

in terminal will empty trash most of the time...

make sure it's really trash, because you won't get a second chance...

and, sorry, but it's a pet peeve of mine. why do people bother posting "just search" without offering the results - it's not very helpful? if you want them to search, why not just ignore the thread instead?

if you search "empty trash", you get one thread that's relevant out of 25 listed in the first page. and it's 23rd out of 25, posted 2 months ago.
 
jxyama said:
and, sorry, but it's a pet peeve of mine. why do people bother posting "just search" without offering the results - it's not very helpful? if you want them to search, why not just ignore the thread instead?
QUOTE]

I agree. There was another thread today where the same "advice" was given, in a not so nice tone. Which is OK in certain instances. The only problem was, the person who started the thread was new to the mac arena. Seemed a little non-helpful to me.

Also, with 100,000 threads, alot of areas have been covered already, but when you're new to this, it's nice to have somebody answer your exact question.

At the very least, if your gonna say "just search for it" to somebody, post the link to the older thread, or don't post at all.
 
jxyama said:
and, sorry, but it's a pet peeve of mine. why do people bother posting "just search" without offering the results - it's not very helpful? if you want them to search, why not just ignore the thread instead?

if you search "empty trash", you get one thread that's relevant out of 25 listed in the first page. and it's 23rd out of 25, posted 2 months ago.

I agree. I've asked questions before that even after I tried a search nothing comes up and then some says "why don't you just search for it , there have been many Threads on that......"

Anyway here's what MacAdict say on the subject. (and I'm trying to reprint this directly from the Jan 2005 issue.

In the terminal

[rmyslewski:~]rmyslews% sudo rm -ri ~/.Trash/*

I guess rmyslewski is the user name but the accompanying caption to the sample says "If emptying the Trash results in stubborn resistance, employ the Terminal and force the job using this command"
 
i tried all those things and still no luck.
- I can't use onyx because i'm just on 10.1.5, but I tried something from version tracker called 'force empty trash', which unfortunately didn't work.
- In terminal it asked me if I wanted to get rid of the things and then said ' opperation not permitted'. (! ?)
During my efforts i've also gotten a message a couple of times which looks weird saying "I assume you've gotten the usual lecture from system administrators and it boils down to two things. 1)respect the privacy of others and 2) think before you type"
That sounds malicious.
What have i done?

by the way - I don't know why I didn't think of searching the forum originally - sorry about that.
 
First of all, check your Trash and make sure you know what everything is. You don't want to erase a system file or something.

Second, reboot your computer and try to empty the trash.

If you still can't empty it, open the terminal.
Type: sudo rm -rf ~./Trash/*

Here is what this stuff means (if you don't know)
sudo = basically enhancing your privledges
rm = remove command
-r = recursive flag to handle folders
-f = force flag to handle permission problems
~/.Trash/* = means go to the Trash folder and select all files

You may get a message and a request to enter you password, don't worry about what it says and just enter your password.

Hope this works.
 
Help too

I have the same problem but it all of the commands arent working, the trash is still there. Is there something i have to do to make it empty after that?
Thanks,
JSully217
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.