Unable to empty trash due to external USB HDD's locked files and no permission?

Hello.
I was doing a major cleanup with an external Seagate USB HDD due to low free disk spaces. It has two partitions/drives: FAT32 (using it for on other non-Apple machines like Windows 2000 SP4) and HFS [Time Machine only]). I threw about 30,000 items (copied from an old Windows 2000 SP4 machine's HDD with NTFS back a few years ago) from FAT32 partition/drive into the trash can. However, I am having problems emptying it. Most of them were emptied, but some were left behind.
This four years old MacBook Pro's Mac OS X 10.5.8's Trash dialog boxes said "The operation cannot be completed because you do not have sufficient privileges for some of the items." and "Emptying the Trash cannot be completed because "<filename>" is locked. To empty everything in the Trash, including locked items, press the Options key while selecting Empty Trash". http://i.imgur.com/XFBfF.gif for the screen shots/captures of the error messages.
I tried holding Option key and emptying trash, but that didn't help/work. I used Finder to look at the files, and they had locked status. So I unlocked them which worked, but I can't delete the empty folders/directories, and these don't have locked.
What's going on and how do I empty the trash? Thank you in advance.

BDAqua wrote:
Hi again, are there maybe hidden files in those folders?
Show Hidden Files 1.0...
http://www.macupdate.com/app/mac/29096/show-hidden-files
Hidden Way is a toggle for hidden files view in Finder...
http://www.macupdate.com/app/mac/25716/hidden-way
Show hidden files in OSX Finder
Open the Terminal and type or copy/paste:
defaults write com.apple.finder AppleShowAllFiles -bool true
Reverting to the default of NOT showing hidden files:
defaults write com.apple.finder AppleShowAllFiles -bool false
*Restart or Force Quit Finder required to take effect.*
http://www.apple.com/downloads/dashboard/developer/hiddenfiles.html
http://www.burobjorn.nl/blog/?p=96
Finder Force Quit, or restart required to take effect.
Not that I saw through Terminal's ls -all and Windows XP Pro. SP3 machine. Someone told me to try secured empty trash and it did more, but not fully.
I used the administrator (sudo) account in Mac OS X 10.5.8's Terminal to delete the trash, but it still failed: 
$ sudo rm -rf *
Password:
rm: 501/2010/07252010/My Documents/My Pictures: Operation not permitted
rm: 501/2010/07252010/My Documents: Directory not empty
rm: 501/2010/07252010: Directory not empty
rm: 501/2010/01162010and05042010/My Documents/My Pictures: Operation not permitted
rm: 501/2010/01162010and05042010/My Documents: Directory not empty
rm: 501/2010/01162010and05042010/Favorites: Operation not permitted
rm: 501/2010/01162010and05042010: Directory not empty
rm: 501/2010: Directory not empty
rm: 501/06182011/My Documents/My Pictures: Operation not permitted
rm: 501/06182011/My Documents: Directory not empty
rm: 501/06182011/Favorites: Operation not permitted
rm: 501/06182011: Directory not empty
rm: 501: Directory not empty
I tried deleting this on an old, updated Windows XP Pro. SP3 machine and it had no problems! Weird. I wonder why Mac OS X 10.5.8 failed to delete it through its Finder and Terminal (sudo rm -rf command).

Similar Messages

  • Yosemite is awful- unable to empty trash, volume options are haywire, error codes on file management, and files won't replace when moved. What are my options at this point?

    Like the topic - "Yosemite is awful- unable to empty trash, volume options are haywire, error codes on file management, and files won't replace when moved. What are my options at this point?"
    I installed this OS, and it looks nice, but it's terrible to use. I randomly have the volume controls get disabled, and sometimes the volume menu in the system tray does nothing when adjusted which I've never seen in an OS before. The trash won't empty. When I try to drag and drop newer files over existing ones, nothing happens. The old ones just stay there. I have to delete the old ones and then move the new ones. And when I go into the protected files to manage audio plugins (I make music), the first thing I hit are error codes galore, and password prompts that either don't popup when they should, or don't execute the command after I provide my password.
    What can I do now that I installed the flames of **** onto my computer?

    Back up all data before proceeding.
    This procedure will unlock all your user files (not system files) and reset their ownership, permissions, and access controls to the default. If you've intentionally set special values for those attributes on any of your files, they will be reverted. In that case, either stop here, or be prepared to recreate the settings if necessary. Do so only after verifying that those settings didn't cause the problem. If none of this is meaningful to you, you don't need to worry about it, but you do need to follow the instructions below.
    Step 1
    If you have more than one user, and the one in question is not an administrator, then go to Step 2.
    Triple-click anywhere in the following line on this page to select it:
    sudo find ~ $TMPDIR.. -exec chflags -h nouchg,nouappnd,noschg,nosappnd {} + -exec chown -h $UID {} + -exec chmod +rw {} + -exec chmod -h -N {} + -type d -exec chmod -h +x {} + 2>&-
    Copy the selected text to the Clipboard by pressing the key combination command-C.
    Launch the built-in Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Paste into the Terminal window by pressing command-V. I've tested these instructions only with the Safari web browser. If you use another browser, you may have to press the return key after pasting.
    You'll be prompted for your login password, which won't be displayed when you type it. Type carefully and then press return. You may get a one-time warning to be careful. If you don’t have a login password, you’ll need to set one before you can run the command. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator.
    The command may take several minutes to run, depending on how many files you have. Wait for a new line ending in a dollar sign ($) to appear, then quit Terminal.
    Step 2 (optional)
    Take this step only if you have trouble with Step 1, if you prefer not to take it, or if it doesn't solve the problem.
    Start up in Recovery mode. When the OS X Utilities screen appears, select
              Utilities ▹ Terminal
    from the menu bar. A Terminal window will open. In that window, type this:
    resetp
    Press the tab key. The partial command you typed will automatically be completed to this:
    resetpassword
    Press return. A Reset Password window will open. You’re not going to reset a password.
    Select your startup volume ("Macintosh HD," unless you gave it a different name) if not already selected.
    Select your username from the menu labeled Select the user account if not already selected.
    Under Reset Home Directory Permissions and ACLs, click the Reset button.
    Select
               ▹ Restart
    from the menu bar.

  • Unable to empty trash due to a corrupt Time Machine backup.

    I have a 3TB Seagate Backup Plus for my Macbook Pro. On this drive, I had a Time Machine backup from a secondary Mac that was stopped half way through. In this folder is the file '2014-10-03-144053.inProgress'. I moved the whole folder to the trash of my MBP, and can not empty the trash because of it, nor can I move the file elsewhere. I have tried the following:
    Secure Empty Trash... (results in the trash being stuck on 'Preparing Items to Delete')
    Using a third party software (OnyX) to empty the trash.
    Executing the script:
        sudo rm -rf ~/.Trash
        sudo rm -rf /Volumes/*/.Trashes
    (This results in terminal being stuck executing the second command).
    Moving the file to the desktop results in finder being stuck on 'Preparing to move ... to desktop.'
    What should I do?

    BDAqua wrote:
    Hi again, are there maybe hidden files in those folders?
    Show Hidden Files 1.0...
    http://www.macupdate.com/app/mac/29096/show-hidden-files
    Hidden Way is a toggle for hidden files view in Finder...
    http://www.macupdate.com/app/mac/25716/hidden-way
    Show hidden files in OSX Finder
    Open the Terminal and type or copy/paste:
    defaults write com.apple.finder AppleShowAllFiles -bool true
    Reverting to the default of NOT showing hidden files:
    defaults write com.apple.finder AppleShowAllFiles -bool false
    *Restart or Force Quit Finder required to take effect.*
    http://www.apple.com/downloads/dashboard/developer/hiddenfiles.html
    http://www.burobjorn.nl/blog/?p=96
    Finder Force Quit, or restart required to take effect.
    Not that I saw through Terminal's ls -all and Windows XP Pro. SP3 machine. Someone told me to try secured empty trash and it did more, but not fully.
    I used the administrator (sudo) account in Mac OS X 10.5.8's Terminal to delete the trash, but it still failed: 
    $ sudo rm -rf *
    Password:
    rm: 501/2010/07252010/My Documents/My Pictures: Operation not permitted
    rm: 501/2010/07252010/My Documents: Directory not empty
    rm: 501/2010/07252010: Directory not empty
    rm: 501/2010/01162010and05042010/My Documents/My Pictures: Operation not permitted
    rm: 501/2010/01162010and05042010/My Documents: Directory not empty
    rm: 501/2010/01162010and05042010/Favorites: Operation not permitted
    rm: 501/2010/01162010and05042010: Directory not empty
    rm: 501/2010: Directory not empty
    rm: 501/06182011/My Documents/My Pictures: Operation not permitted
    rm: 501/06182011/My Documents: Directory not empty
    rm: 501/06182011/Favorites: Operation not permitted
    rm: 501/06182011: Directory not empty
    rm: 501: Directory not empty
    I tried deleting this on an old, updated Windows XP Pro. SP3 machine and it had no problems! Weird. I wonder why Mac OS X 10.5.8 failed to delete it through its Finder and Terminal (sudo rm -rf command).

  • I am getting disc full messages on my Mac, unable to empty trash because not enough space, how do I proceed or do I need to increase my 4gig of memory

    I am getting disc full messages on my Mac, unable to empty trash because not enough space, how do I proceed or do I need to increase my 4gig of memory in which case how do I go about this process.

    You are confusing RAM (Random Access Memory) with hard drive data storage space.
    Your hard drive storage is getting too full if you can't empty your Mac's main trash.
    Here are some general tips to keep your Mac's hard drive trim and slim as possible
    You should never, EVER let a conputer hard drive get completely full, EVER
    With Macs and OS X, you shouldn't let the hard drive get below 15 GBs or less of free data space.
    If it does, it's time for some hard drive housecleaning.
    Follow some of my tips for cleaning out, deleting and archiving data from your Mac's internal hard drive.
    Have you emptied your Mac's Trash icon in the Dock?
    ( as you mentioned, you can't empty this as your hard drive is too full.)
    If you use iPhoto, iPhoto has its own trash that needs to be emptied, also.
    If you store images in other locations other than iPhoto, then you will have to weed through these to determine what to archive and what to delete.
    If you use Apple Mail app, Apple Mail also has its own trash area that needs to be emptied, too!
    Delete any old or no longer needed emails and/or archive to disc, flash drives or external hard drive, older emails you want to save.
    Look through your other Mailboxes and other Mail categories to see If there is other mail you can archive and/or delete.
    STAY AWAY FROM DELETING ANY FILES FROM OS X SYSTEM FOLDER!
    Look through your Documents folder and delete any type of old useless type files like "Read Me" type files.
    Again, archive to disc, flash drives, ext. hard drives or delete any old documents you no longer use or immediately need.
    Look in your Applications folder, if you have applications you haven't used in a long time, if the app doesn't have a dedicated uninstaller, then you can simply drag it into the OS X Trash icon. IF the application has an uninstaller app, then use it to completely delete the app from your Mac.
    To find other large files, download an app called Omni Disk Sweeper.
    Download an app called OnyX for your version of OS X.
    When you install and launch it, let it do its initial automatic tests, then go to the cleaning and maintenance tabs and run the maintenance tabs that let OnyX clean out all web browser cache files, web browser histories, system cache files, delete old error log files.
    Typically, iTunes and iPhoto libraries are the biggest users of HD space.
    move these files/data off of your internal drive to the external hard drive and deleted off of the internal hard drive.
    If you have any other large folders of personal data or projects, these should be archived or moved, also, to the optical discs, flash drives or external hard drive and then either archived to disc and/or deleted off your internal hard drive.
    Good Luck!

  • MacBook Pro: Unable to Empty Trash (secure or otherwise).  Have tried all remedies suggested on Apple's site.  I think "Secure Empty Trash" bogs at the first file "iPhone4, 1_8.02_12A495_Restore.ipsw" at 1.78 GB size and goes no further.

    MacBook Pro: Unable to Empty Trash (secure or otherwise).  Have tried all remedies suggested on Apple's site.  I think "Secure Empty Trash" bogs at the first file "iPhone4, 1_8.02_12A495_Restore.ipsw" at 1.78 GB size and goes no further. When I try to move it out of Trash to a temporary location so I can empty remainder of Trash, I get the message "Some of the items you are moving are in use by another application. Moving the items can cause problems with the application using them. Are you sure you want to move these items?" at which point I select "Stop" to avoid possible disaster.  Can you help? Thanks.

    01/05/15 6:01:27.000 pm kernel[0]: Previous shutdown cause: -62
    That usually indicates an abnormal shutdown due to a hardware fault. The exact cause can only be determined by Apple, so schedule a Genius Bar Reservation.

  • Unable to empty trash getting constant faultcode -8003

    After dragging some Backup Files from my My Book External Harddisk to the trash I tried many times to empty the trash but I am constantly unable to do so in order of faultcode -8003.
    Who can help me to fix this problem?

    unable to empty trash error code 8003: Apple Support Communities

  • Unable to empty trash error code 8003 appears ?

    Unable to empty trash error code 8003 appears ?

    I had the same problem - tried all sorts but nothing worked. Eventually I used a tool called Trash It! which did the job (though apparently it is only to be used as a last resort).
    http://www.macupdate.com/app/mac/8214/trash-it! Emptied the Trash and no problems since.
    Cheers
    J

  • Unable to empty trash error code 8003

    Unable to empty trash  error code 8003
    MacBook Pro
    OSX 10.6.7
    4GB RAM

    I had the same problem - tried all sorts but nothing worked. Eventually I used a tool called Trash It! which did the job (though apparently it is only to be used as a last resort).
    http://www.macupdate.com/app/mac/8214/trash-it! Emptied the Trash and no problems since.
    Cheers
    J

  • I am unable to empty trash error 8003

    I am unable to empty trash.  I get an error 8003 message.  What do I do? 

    HI, this thread offers a solution:
    https://discussions.apple.com/message/15031360#15031360 (paid for app)
    or
    this thread: https://discussions.apple.com/message/11620698#11620698
    http://www.titanium.free.fr/download.php?sid=3092b5fa238323a3658fab8a16db71ee
    (free app - be sure to download the correct version for your OS)

  • Have been unable to empty trash for the last 24hours, says it is being used by another task, how do I clear it. Thanks for any help.

    Have been unable to empty trash for the last 24hours, says it is being used by another task, how do I clear it. Thanks for any help.

    Generally when you get the resource in use error logging out or rebooting will take care of it. When a file just absolutely refuses to delete try restarting in Safe Mode (hold the left shift key after the computer restarts) and then empty the trash.

  • Cannot empty trash due to htm in use.

    1. I do Finder>empty trash get a message "wmphelp.htm" is locked. I remove the file from the trash and do FILE> GET INFO, and it shows the file is UNLOCKED. I put the file back in the trash.
    2. Next I do FINDER>SECURE EMPTY TRASH and I get the message "The operation cannot be completed because the item "htm is in use".
    My question is how do I stop "htm" long enough to empty the trash?
    Thank you in advance,
    Art

    I gather you are trying to delete Windows Media Player. Generally if you hold down the Option key on the keyboard and select empty trash everything in the trash gets nuked, locked or unlocked. Make sure you don't have another copy of WMP running...
    Francine
    Francine
    Schwieder

  • Unable to empty trash in verizon cloud

    The trash is using 2.4GB of storage in verizon cloud.  Whenever I attempt to empty trash can it gives me an internal server error and doesn't delete it.  Any workaround or way to get a trouble ticket opened?

        Hello TinyBurrito,
    We're here to help get your Verizon Cloud working again! I'm sorry you're having trouble removing items from the trash folder. If you attempt to delete individual items, are you able to do that? When did you first attempt to empty the trash can?
    Thanks,
    MichelleH_VZW
    Follow us on Twitter@VZWSupport

  • Access the local Mac's Time Machine without its external USB HDD?

    Hello.
    Is it possible to access the local Mac's Time Machine without its external USB HDD? Or is the external backup HDD required? This is assuming Mac OS X 10.8.5. I am not sure if the newer versions can do it.
    Thank you in advance.

    Eric Root wrote:
    Those are local snapshots. The best thing to due is backup Time Machine and then access it.
    Local Snapshots on Portable Macs
    How do I access these local (one/1)s without the external HDD connected? I do not get the TM icon option in my top menu bar.

  • Finder crashes when I try to open my external USB HDD

    Hello all. I have been experiencing issues with my external USB HDD (WD Passport) and my Macbook Pro (Summer 2012) for some time. It looks that the HDD shows up on the desktop when I connect it but when I try to open the My Passport icon on the desktop Finder crashes. Finder works OK generally and I can see everything (even the Passport listed) but I cannot access the Passport HDD contents.
    I have tried accessing it via terminal and managed to view the Passport contents ok (ls -ltr etc)
    I have tried repairing the disk but the issue remains.
    I have connected Passport to a Windows 7 PC and it works OK. I have even tried repairing it on a Windows PC but it has not helped.
    Ejecting, rebooting etc does not solve the issue
    Every time the issue occurs I see a PM Report Crash for Finder
    11/24/13 5:46:21.004 PM ReportCrash[1374]: Saved crash report for Finder[1377] version 10.8.3 (10.8.3) to /Users/Panos/Library/Logs/DiagnosticReports/Finder_2013-11-24-174621_Panos-MacB ook-Pro.crash
    Could you please suggest any solution to this problem??

    Try booting into the Safe Mode using your normal account.  Disconnect all peripherals except those needed for the test. Shut down the computer and then power it back up. Immediately after hearing the startup chime, hold down the shift key and continue to hold it until the gray Apple icon and a progress bar appear. The boot up is significantly slower than normal. This will reset some caches, forces a directory check, and disables all startup and login items, among other things. When you reboot normally, the initial reboot may be slower than normal. If the system operates normally, there may be 3rd party applications which are causing a problem. Try deleting/disabling the third party applications after a restart by using the application un-installer. For each disable/delete, you will need to restart if you don't do them all at once.
    Safe Mode
    Safe Mode - About

  • Question on Time Capsule and external USB HDD

    Hello everyone,
    I have a 500GB Time Capsule that is working wonderfully. I recently have been downloading a number of large .iso image files that are taking up a lot of space on my internal drive on my Macbook Pro. I do not back these files up on the Time Capsule as it is getting full and i want it to backup other more important things.
    I do however wish to backup these files. My current desk is rather full and really will not allow me to purchase a large 3.5" HDD and plug it in USB.
    Is it possible to plug an external drive into the back of the Time Capsule and have it be used as a wireless disk as well?
    I would prefer to have that drive not be part of the Time Capsule disks, i just want to be able to access it wireless over my network.
    I would be grateful if anyone can help me out. If this solution will not work, is there some sort of NAS disk solution i can get to work with my TC?
    Thanks

    All you need is an external USB HDD. It needs to be formatted HFS+ (Mac OS Extended - Journaled), if you plan on a future Time Machine Disk on this drive, or FAT/FAT32. You could get a NAS, but you don't need to if you already have TC. Can I assume the USB port is free or do you have a USB printer hooked up to it?

Maybe you are looking for

  • Creative Audigy Platinum Installation Help with Pentium 4 3.2GHz HT Enab

    :mansad: Dear Fellows,I have recently upgraded to a new Pentium 4 machine. The config is as follows:Pentium 4 3.2eGHz MB cache HT (Hyper-Threading Enabled)Intel Original 865GBF MainboardGB Kingston DDR 400MHz RAM20GB SATA WD HDDSound Blaster Audigy P

  • ITunes will not start after upgrade

    Ok...I downloaded the upgrade for 7.6, and it told me that after the download itunes would open automatically. It didn't. Every time I click on the icon, it just flashes and then nothing happens. No error message or anything. It just ignores me...but

  • Airline adapter/ trucks

    so i got the airline adapter to use on a flight that i'm taking next week. but just curious. will this adapter work in the standard cigarette plug in my truck w/o frying anything or will i need a power inverter?

  • Billing no range

    Hi, If I will define  one billing document type (ZVF2) to all 4 company codes then for differentiate number ranges for invoice can I create user Exit . Please give me the solution how Billing number range should be differentiate according to all 4 co

  • Views Question

    Hi all, I created one view like this create view V1 as select * from EMP; After that i added one column to EMP table. Now, if i select the view, V1, that new column will display or not ..? I checked, it is not showing. I want to confirm this from the