I can't empty the Trash!

Discussion in 'General Mac Discussion' started by Beej, Jan 31, 2002.

  1. macrumors 68020

    Beej

    Joined:
    Jan 6, 2002
    Location:
    Buffy's bedroom
    #1
    Help!

    I can't empty the Trash in OS X 10.1.2

    I've been trashing SO X backups from a second HD. When I try to empty it, I'm told:

    "The operation cannot be completed because you do not have sufficient privileges for some of the items."

    I've gone to each folder in the Trash and copied R+W permissions to everything, but it still won't work.

    I've logged in as root and tried to ls my .Trash folder, but it says there's nothing in there...

    Any ideas?

    And before PC lovers decide to use this as another reason to bag the Mac OS, I admit this is a problem, and I don't need you to tell me. I'm trying to fix this problem, if I wanted to start a Mac OS bag-session, I'd do it elsewhere - just as you should.

    Sorry about that... :)
     
  2. macrumors 68000

    Ensign Paris

    Joined:
    Nov 4, 2001
    Location:
    Europe
    #2
    Try:

    a) Boot from a OS9 CD and Empty Trash
    b) Search for a program on version tracker called oblitorator or something like that!
     
  3. macrumors 68000

    GeeYouEye

    Joined:
    Dec 9, 2001
    Location:
    State of Denial
    #3
    FileTyper

    Boot into OS 9, use FileTyper to make the .Trash visible, then throw that away, create a new one, and have FileTyper make it invisible. Reboot into OS X
     
  4. thread starter macrumors 68020

    Beej

    Joined:
    Jan 6, 2002
    Location:
    Buffy's bedroom
    #4
    Sweet. Thanks guys!
     
  5. thread starter macrumors 68020

    Beej

    Joined:
    Jan 6, 2002
    Location:
    Buffy's bedroom
    #5
    I just did it. The FileTyper method worked like a charm. Thanks again! :D
     
  6. macrumors 65816

    Taft

    Joined:
    Jan 31, 2002
    Location:
    Chicago
    #6
    Command line option.

    If you like using the command line, just 'ls' to the .Trashes directory. There are usually sub-folders in .Trashes which correspond to different users. If there is only one user its generally 501. Then just 'sudo rm' the files you want to delete. Like this:

    >cd /.Trashes
    >ls -aF
    501/
    502/

    >cd 501
    >ls -alF
    drwx------ root wheel 0 Jan 26 00:21 untrashable/

    >sudo rm -rf untrashable

    Careful with the 'rm -rf', it can be potentially dangerous!!

    Hope this helps!!!
     
  7. thread starter macrumors 68020

    Beej

    Joined:
    Jan 6, 2002
    Location:
    Buffy's bedroom
    #7
    Re: Command line option.

    I think you might mean cd, not ls... :D

    Thanks for the tip. I tried using the command line (like I said above) but I was looking in the .Trash folder in my home dir, not the .Trashes dir elsewhere as I should have been. Oh well, I know for next time.
     
  8. macrumors 68040

    MacAztec

    Joined:
    Oct 28, 2001
    Location:
    San Luis Obispo, CA
    #8
    Beej

    Whenever I get that error, I force quit the finder. Try that and then try emptying again.
     

Share This Page