Can't empty the trash because of a locked folder...

Discussion in 'OT Technology' started by jd0tsd0t, Jan 12, 2008.

  1. jd0tsd0t

    jd0tsd0t if you don't give me heaven, i'll raise hell...til OT Supporter

    Joined:
    May 10, 2005
    Messages:
    232
    Likes Received:
    0
    Location:
    Southern Cali
    I'm on my first Mac and everything's been going great except for this one problem. I backed up all of my old files from my PC onto a WD external HD and after transferring some music to my MacBook I deleted a few things I didn't need.

    I went to empty the trash and a popup message came up that says something about not being able to empty the trash because a folder is locked and to press the Option key while emptying the trash. Well, I tried that and it didn't work. Did some searching and found this page -

    http://docs.info.apple.com/article.html?artnum=106272

    and pretty much tried everything on that page and related pages. All of the terminal commands, using Disk Utility to repair permissions and the disk itself, and still can't empty the trash. The folder in the trash isn't huge but it's annoying knowing I can't get rid of it. Any ideas?
     
  2. Raider007

    Raider007 om nom nom nom

    Joined:
    Aug 26, 2002
    Messages:
    17,987
    Likes Received:
    0
    Location:
    Bay Area
    here is a quick fix (about 3-5 minutes) it's annoying but it works

    1) create a new user account
    2) place the file/folder in the trash that you can't delete in the "shared" folder
    3) log out of your primary account, and into your new second account
    4) go to the shared folder and move the problem folder to your trash
    5) log out of your second account and back into your primary account
    6) delete second account

    it'll take care of the files in the trash
     
  3. kamikaze

    kamikaze Active Member

    Joined:
    Jan 30, 2005
    Messages:
    33,629
    Likes Received:
    0
    Location:
    Barrie Ontario
  4. mobbarley

    mobbarley Active Member

    Joined:
    Mar 4, 2005
    Messages:
    9,256
    Likes Received:
    2
    Location:
    Sydney
    sudo rm -Rf
     
  5. skolen

    skolen Guest

    Right-click the file in the trash
    Get Info
    Unlock folder/item (click apply to enclosed items if needed).
     
  6. jd0tsd0t

    jd0tsd0t if you don't give me heaven, i'll raise hell...til OT Supporter

    Joined:
    May 10, 2005
    Messages:
    232
    Likes Received:
    0
    Location:
    Southern Cali
    Tried this way but the folder in the trash would only copy itself when I tried moving it to a different folder :hs:

    I also DL'd TrashIt and it went through it's process and said it was successful, but the folder was still in the trash. If I added anything else to the trash that wasn't locked and ran TrashIt, everything but the locked folder I'm having a problem with would be gone.

    Another weird thing is if I disconnect the external HD the file in the trash disappears as well. After seeing this I tried moving the folder back to the external and it actually moved out instead of copying itself, so for now my trash is empty but that folder is still locked/undeleteable, at least in OSX.

    Thanks for all the help guys.
     
  7. jd0tsd0t

    jd0tsd0t if you don't give me heaven, i'll raise hell...til OT Supporter

    Joined:
    May 10, 2005
    Messages:
    232
    Likes Received:
    0
    Location:
    Southern Cali
    One of the first things I tried. For some reason it won't let me modify any of the permissions for this specific folder. I might just take the easy way out and plug the external up to a PC and delete the folder that's giving me problems.
     
  8. Raider007

    Raider007 om nom nom nom

    Joined:
    Aug 26, 2002
    Messages:
    17,987
    Likes Received:
    0
    Location:
    Bay Area
    empty the trash before ejecting the drive?
     
  9. NeonImpact

    NeonImpact New Member

    Joined:
    Nov 17, 2004
    Messages:
    10,465
    Likes Received:
    0
    Location:
    Maryland
  10. omgwtfbbqryan

    omgwtfbbqryan OT Supporter

    Joined:
    Aug 22, 2003
    Messages:
    14,590
    Likes Received:
    0
    Location:
    CA
    hold option while you empty
     
  11. Raider007

    Raider007 om nom nom nom

    Joined:
    Aug 26, 2002
    Messages:
    17,987
    Likes Received:
    0
    Location:
    Bay Area
    i see you didn't read his post at all... :hsugh:
     

Share This Page