Trash cannot delete file in use

I occasionally have troubles deleting files from the Trash because the message says that the files are still in use, even though I haven't got any applications open.
One of the main features that convinced me to upgrade to Snow Leopard was that it would say which application was using the file that was in use. However, since updating, the warning message hasn't changed since Leopard. Is there a preference or something I need to change to get this feature active?

GromReaper wrote:
I occasionally have troubles deleting files from the Trash because the message says that the files are still in use, even though I haven't got any applications open.
One of the main features that convinced me to upgrade to Snow Leopard was that it would say which application was using the file that was in use. However, since updating, the warning message hasn't changed since Leopard. Is there a preference >or something I need to change to get this feature active?
Here is a [read on trash|http://www.thexlab.com/faqs/trash.html] that may help you. And, I don't remember Apple promising the feature your mention. [Read here|http://www.apple.com/macosx/refinements/enhancements-refinements.html].

Similar Messages

  • I have accidentally emptied the trash and deleted files that i was trying to put back

    I have emptied the trash accidentally, deleting files that i was trying to put back! Can you help me to recover them?

    I cannot recommend any specific data recovery software because I have not been in a situation where I needed it.  I am fairly diligent having my important data backed up (two copies) so this is not a problem for me.  Do look at Time Machine (one of my two backups) since it is very easy to set up and use.  Look through these forums for situations where others have had to recover data and see if they mention specific recovery software.
    Do not take these remarks as my being condescending. I am simply stating the facts.  Try to view the price of the software as punishment for your faux pas.  We all make mistakes and I have committed my share, but not in data loss. 
    Ciao.

  • Cannot delete files from my ipod shuffle!!!

    I am new to using an ipod and i cannot delete files from my ipod, on itunes, it only shows the license agreement where the ipod files are supposed to be and no matter how many times i uninstall and reinstall itunes and agree to the license agreement i can't access anything else. can anyone help me at all i feel like a complete idiot!

    Pressing return will get past this screen as there is a button at the bottom right of iTunes which you likely cannot see.
    Set your screen resolution to at least 1024x768 to see this button.

  • Cannot delete file Windows2Local/Components/{multiple}.settings

    Every time I shutdown JSE it shows a couple of ugly messages saying:
    "Cannot delete file Windows2Local/Components/classes.settings in C:\Documents and Settings\Joost\.jstudio\Ent8\config"
    "Cannot delete file Windows2Local/Components/sources.settings in C:\Documents and Settings\Joost\.jstudio\Ent8\config"
    "Cannot delete file Windows2Local/Components/watches.settings in C:\Documents and Settings\Joost\.jstudio\Ent8\config"
    "Cannot delete file Windows2Local/Components/properties.settings in C:\Documents and Settings\Joost\.jstudio\Ent8\config"
    "Cannot delete file Windows2Local/Components/designpattern.settings in C:\Documents and Settings\Joost\.jstudio\Ent8\config"
    "Cannot delete file Windows2Local/Components/threads.settings in C:\Documents and Settings\Joost\.jstudio\Ent8\config"
    Assuming that JSE had some problems to access my profile (oh, how I *hate* Windows...) I wanted to change the JSE working directory to C:\Projects\Java Studio Enterprise, but I can't find the place within the Tools|Options where I can set that. Help!
    Regards,
    Joost

    Thanks for the reply. I added the -userdir option, and now it complains:
    "Cannot delete file Windows2Local/Components/ComponentPalette.settings" in C:\Projects\Java Studio Enterprise\config"
    "Cannot delete file Windows2Local/Components/CollaborationExplorer.settings" in C:\Projects\Java Studio Enterprise\config"
    Hmmm, it seems to me that - although the number of error messages has been reduced - JSE is still not very happy about something. It would be nice if it was a bit more precise in its problem description.
    Regards,
    Joost

  • PDE-PLI038 Cannot open file for use as a PL/SQL library

    Hi,
    We are using oracle 12 .0.4 on RHAS 4
    I am trying to compile a .pll file with the following code
    frmcmp_batch module=$AP_TOP/patch/115/sql/apacrndb.pls userid=apps/apps module_type=LIBRARY;
    but it's returning the error
    PDE-PLI038 Cannot open file for use as a PL/SQL library
    Thanks
    Umair

    Umair,
    What is the issue about?
    Usually, it would be required to run the pls files to recreate certain objects (mainly packages) in the database, and you run the pls file from SQL*Plus as apps/applsys user.
    Please update the SR and confirm with Oracle Support what the action plan you need to follow to resolve the issue.
    Regards,
    Hussein

  • Admin suddenly cannot delete files without entering password?

    Admin (and sole user) suddenly cannot delete files without entering password?

    Admin (and sole user) suddenly cannot delete files without entering password?

  • Cannot delete file - tried everything - file in use by Windows Explorer error

    Hi - I have tried now for 2-3 hours trying to delete an .mkv file from my "Downloads" folder
    It says the file is in use by Windows Explorer and cannot be deleted
    I have tried deleting it using Del command prompt as me and as Administrator (I am the Admnistrator, there are no other users) - no luck
    I have tried Safe Boot and then deleting - no luck
    I have tried rebooting many times and then deleting - no luck
    Any ideas? It's driving me nuts

    hi to all who have this bug- "file in use by Windows Explorer error"
    this is the only way that it works:
    1.type cmd in search box
    2.go to the drive and the directory the file is in ,for example:
    after you type cmd you have a black screen with c:\user\
    type in the drive the file is in and hit enter example - d: than hit enter
    than you should see d:\>
    now click the directory the problem file is in ,for example i will call the directory "movies"  type in this-   cd movies
    now you will see this d:\movies>
    to delete the file type this:  del filename.mkv (dont forget the .mkv or any other file extension) don't hit enter yet, first open task manager (cntrl+shift+esc) go to process tab than right click on explorer.exe choose and click on end process
    now your desktop should disappear. get back to the "cmd" window and hit enter.
    now the file is deleted. now go back to the task manager and click on "file" on the upper left corner then on new task then type in "explorer.exe"
    and you are done
    please note that the file name you choose to delete cant be with spaces between the letters .if so you will need to change it in the same way in the cmd window only the comand will be instead of "del filename.mkv"(for example) after you are in the
    right drive and directory:
    rename "test space.mkv" testspace.mkv
    hope i helped
    this is the only way it workes
    Instead of running a CMD prompt and typing everything, just start up Winrar or Winzip, kill Explorer, then delete problem MKV files to your hearts content within Winrar or Winzip.
    Winrar and Winzip will navigate your folders as well.
    After you are done, create a new Explorer task.
    or.....   if you need to rename MKV files, just rename them within Winrar/Winzip with Explorer not running.
    I change the MKV extension to AVI (in Winrar with Explorer killed) in order to avoid Explorer issues, if I ever want to move the files in the future without needing to kill Explorer all the time to do so .
    Using WinRAR works for me. Using the cmd function becomes complicated when I cannot rename my file with the rename command".

  • Cannot delete files using dreamweaver

    I just updated a site to the latest version of PHP and MySql. I find that while I can upload new files to the site, I cannot delete either existing or new files using Dreamweaver CS6.
    Has anyone else had this problem?
    Howard Walker

    Have you tried with a different FTP client?
    This sounds like a LINUX permissions/ownership issue. Upgrading PHP would not change the permissions/ownership, unless something else happened during the process, such as that the files were moved to a different location.
    The way PHP runs affects permissions/ownership (DSO, CGI, suPHP, etc.), but even if that changed I don't think it would affect the permissions set on your site files.

  • Cannot delete file from external hard drive (error code 36) in Finder, but Terminal is ok

    I have a relatively new Macbook Pro Retina 15" and have a Western Digital 1 TB Passport.  I've been using the passport for about a year now without any problems on older Macbooks in my house.  I used to be able to read and write to this drive no problem.  I am using the Paragon NTFS for Mac software in order to read and write to the NTFS drive.  When I navigate through the drive in Finder, if I try to create a new folder, I do not have a problem.  If I try to delete that folder I just created, I get this error:
    The Finder can’t complete the operation because some data in “untitled folder” can’t be read or written.
    (Error code -36)
    The folder has nothing in it whatsoever.  I just created it.  But if I go to Terminal and I run
    rm -rf "untitled folder"
    This works fine.  Why is Terminal acting different than Finder?  This does not happen on my other Macbooks.  Thanks in advance.

    Thanx for such qucik reply!!! The pages were great, it had an answer for my problem, but unfortunately it also involved me dealing with it only on the MacIntosh HD itself, not on mounted external drive I suppose... So it didn't work they say that there is an icon in the left corner indicating locked folder - I don't see any icon on it. It says you can untick the box to unlock the folder - there is no tick to be unticked. Finally, they say that if I don't have permition or rights I cannot delete it. But how do i change permittion which already says that i can read and write in it? So everything appears to be normal only I cannot delete it. there is not even any warnig telling me I don't have enough rights, it just requires the password and after me typing it in it makes the sound of scraping paper but does nothing more. I aslo had some problems with emptying Trash after being seemingly succesful with one file and had got so far to have them appear in the Trash (no clue how this one actully got there though..) I followd the advice and emptied the Trash with Terminal. The Folder is still there but it shows 0 Kb... So far so good BUT: It is still on the external drive, so I obviously only managed to copy it into the Trash!!! Phew, innit a bit too tight to poor owners, this macbook?? I want my rights back!

  • Cannot delete files after emailing them

    Ever since I upgraded to Snow Leopard I cannot empty the trash if there is a file that I have added as an attachment in an email if Mail is still open. It will say the file is in use and I either have to quit Mail or Secure Empty Trash. This is really annoying. Anyone know of a fix? The file shouldn't be in use once it is sent in Mail. This never happened in previous versions of OSX. Also, if I have sent a file as an attachment I cannot save over it in the originating program because it is in use.

    No, this is only for Mail. As soon as I add a file as an attachment then I cannot delete it without quitting mail or secure empty the trash. It isn't a data loss deterrent because you get that message making sure you want to delete it but when I say yes then it says the file is in use.
    By the way, I shut off Time Machine for a day and then tried to delete a new file that I created after Time Machine was shut off that I added as an attachment to Mail and the same problem occurs. All other files that I do not add as an attachment in Mail I can delete with no problems.

  • Cannot delete file from disk after emailling that file like attachment

    After i send some file from disk in Mail like attachment i cannot delete that file from disk unless i quit Mail. Like Mail is still using a file. Of course, that mail is in Sent mail, not in outbox.

    This deeper than that. I created another account on the same iMac and it works in Harmony with my other devices and Documents in the cloud. I can only imagine the icloud account is somehow corrupted (I am on my macbook not iMac at the moment). There have been no updates to the Calendar, Contacts or Documents since early January on that account. I have spent 1hr on the phone with support and they were baffled as well. Only thing I can gove as insight to the problem is this, I was on the Mac Mini which was backed up on Time Machine. about 4 or 5 months ago I had to completley restore the Mac Mini becasue of the never ending circle on the load screen. The Backup failed to work it kept loading the issue and 4 or 5 times the circle of death kept coming up I would subsequently wipe the Mini and go further back in the back up until I go a copy that worked.  I then loaded the Time Mache back up into my NEW iMac and wnet from there. It took about a month for this problem I am detailing above to start happening. It maybe a corrupt file loaded from the backup into the new iMac causing this problem. Best answer I can think of on my own???

  • Cannot delete file ...bug?

    This appears like a bug to me...see if you agree.
    A file opened for read-only access and memory mapped using the map method of FileChannel cannot be deleted even when the channel is closed. An example of this is the simple Grep.java example from NIO modified only to try and delete the file. On Win2K, the delete fails. Once the channel is closed, it should be able to delete the file. Is this a bug?
    import java.io.*;
    import java.nio.*;
    import java.nio.channels.*;
    import java.nio.charset.*;
    import java.util.regex.*; public class Grep {     // Charset and decoder for ISO-8859-15
    private static Charset charset = Charset.forName("ISO-8859-15");
    private static CharsetDecoder decoder = charset.newDecoder(); // Pattern used to parse lines
    private static Pattern linePattern
    = Pattern.compile(".*\r?\n"); // The input pattern that we're looking for
    private static Pattern pattern; // Compile the pattern from the command line
    private static void compile(String pat) {
    try {
    pattern = Pattern.compile(pat);
    } catch (PatternSyntaxException x) {
    System.err.println(x.getMessage());
    System.exit(1);
    } // Use the linePattern to break the given CharBuffer into lines, applying
    // the input pattern to each line to see if we have a match
    private static void grep(File f, CharBuffer cb) {
    Matcher lm = linePattern.matcher(cb);// Line matcher
    Matcher pm = null;// Pattern matcher
    int lines = 0;
    while (lm.find()) {
    lines++;
    CharSequence cs = lm.group(); // The current line
    if (pm == null)
    pm = pattern.matcher(cs);
    else
    pm.reset(cs);
    if (pm.find())
    System.out.print(f + ":" + lines + ":" + cs);
    if (lm.end() == cb.limit())
    break;
    } // Search for occurrences of the input pattern in the given file
    private static void grep(File f) throws IOException { // Open the file and then get a channel from the stream
    FileInputStream fis = new FileInputStream(f);
    FileChannel fc = fis.getChannel(); // Get the file's size and then map it into memory
    int sz = (int)fc.size();
    MappedByteBuffer bb = fc.map(FileChannel.MapMode.READ_ONLY, 0, sz); // Decode the file into a char buffer
    CharBuffer cb = decoder.decode(bb); // Perform the search
    grep(f, cb); // Close the channel and the stream
    fc.close();
    // Try deleting the file =================================
    boolean deleted = f.delete();
    if (!(deleted)) {
    System.err.println("Could not delete file " + f.getName());
    System.exit(4);
    // End try deleting file =================================
    } public static void main(String[] args) {
    if (args.length < 2) {
    System.err.println("Usage: java Grep pattern file...");
    return;
    compile(args[0]);
    for (int i = 1; i < args.length; i++) {
    File f = new File(args);
    try {
    grep(f);
    } catch (IOException x) {
    System.err.println(f + ": " + x);

    Here is the minimal code that demonstrates this. It opens the file specified on the command line, maps it to memory, prints it out, and then tries to delete the file.
    There is no question about calling close on a File object. The close method is invoked on a stream or a channel. In the case of a channel, it should automatically close the stream. However, in this code I am closing the stream and the channel.
    import java.io.*;
    import java.nio.*;
    import java.nio.channels.*;
    import java.nio.charset.*;
    public class testFileDelete {
    public static void main(String[] args) {
              FileInputStream fis = null;
              if (args.length < 1) {
                   System.err.println("Usage: java testFileDelete <filename>");
                   System.exit(1);
              File f = new File(args[0]);
    try {
                   // Open the file
                   fis = new FileInputStream(f);
              } catch (FileNotFoundException ex) {
                   System.err.println("Error! " + ex.getMessage());
                   System.exit(2);
              try {
                   // Get a channel from the stream
                   FileChannel fc = fis.getChannel();
                   // Map the file into memory
                   MappedByteBuffer bb = fc.map(FileChannel.MapMode.READ_ONLY, 0, (int)fc.size());
                   // Do something interesting here. For this example, just print the
                   // contents of the file.
                   // Decode the file into a char buffer, so we can print the contents.
                   Charset cs = Charset.forName("8859_1");
                   CharsetDecoder cd = cs.newDecoder();
                   CharBuffer cb = cd.decode(bb);
                   // Now print it out to standard output
              System.out.print(cb);
                   // Close the channel and the stream
                   fc.close();
                   // Close the input stream even though closing the
                   // channel should do this
                   fis.close();
              } catch (IOException ex) {
                   System.err.println("Error! " + ex.getMessage());
                   System.exit(3);
              // Done processing file. Now delete it.
              boolean deleted = f.delete();
              if (!(deleted)) {
                   System.err.println("Could not delete file " + f.getName());
                   System.exit(2);

  • Cannot Delete file iCloud

    I am having an issue with the New Late 2012 iMac and syncing numbers documents in the cloud.
    1) I cannot sync a native document from the new iMac to the cloud via the Numbers Program. I can drag the document into the browser and update it that way
    2) After doing this as a work around the document devlopes an error message making it unable to drag and drop 3 times seems to be the max allowed with this method
    Spent an hour on the phone with Apple to no avail, I have tried
    1) Deleteing icloud off all my devices Mini, Iphone, Ipad macbook air and iMac.
    2) Yes I have made sure Docs in the cloud is turned on on all devices and the right icloud account is signed in
    3) rebooted everything a few times
    4) created another profile on the IMac which is able to update via the Native Numbers program and not the Browser as I was doing on profile 1.
    The problem seems to be this file which is gray'd out and I cannot delete it off any device, the date that this started happening is the creation date of this document, so process of elimination I want to delete this document to see if this is corrupting profile 1 and disabling my ability to upload files via the native Numbers program.
    Anyone have a document that is in the constant update state on icloud that cannot delete it with a new Mac? Its a very frustrating problem because I use the mac as the mother ship to handle presentations and spread sheets and its not pushing out what I do on it and its brand new..Considering doing a time machine restore on the new profile to see if that works..Anyone have some more thoughts, I have tried all the simple fixes thanks to Apple and a very nice female voice named Kerry.

    This deeper than that. I created another account on the same iMac and it works in Harmony with my other devices and Documents in the cloud. I can only imagine the icloud account is somehow corrupted (I am on my macbook not iMac at the moment). There have been no updates to the Calendar, Contacts or Documents since early January on that account. I have spent 1hr on the phone with support and they were baffled as well. Only thing I can gove as insight to the problem is this, I was on the Mac Mini which was backed up on Time Machine. about 4 or 5 months ago I had to completley restore the Mac Mini becasue of the never ending circle on the load screen. The Backup failed to work it kept loading the issue and 4 or 5 times the circle of death kept coming up I would subsequently wipe the Mini and go further back in the back up until I go a copy that worked.  I then loaded the Time Mache back up into my NEW iMac and wnet from there. It took about a month for this problem I am detailing above to start happening. It maybe a corrupt file loaded from the backup into the new iMac causing this problem. Best answer I can think of on my own???

  • Cannot delete file on windows

    WE have an application. This application processes a list of files in a directory. Once it has processed, it is deleted. We are using the File.delete() API to delete the file. This application works fine on Unix, but when run on Windows, the delete method returns false status. It cannot delete the file and neither does it throw the exception. Is there any way to find out why this delete is failing. We have no clue.

    Maybe the file you get by the new operation
    tion doesn't exist.
    Pls check the return value of the
    the File.exists();.I can't believe that
    your code failed to delete the file if the return
    value is true.sudhirkd never said delete() returned true when it shouldn't have. Regarding exists(), it returns the value that matches the file's actual existence in the file system. Please run the following code on a Windows system to check for yourself:
            java.io.File file = new File ("temp.file");
            java.io.FileWriter out = new FileWriter (file);
            System.out.println ("file.delete() returns: " + file.delete ());
            System.out.println ("file exists: " + file.exists ());
            out.close (); // THIS IS THE IMPORTANT BIT
            System.out.println ("out closed");
            System.out.println ("file.delete() returns: " + file.delete ());
            System.out.println ("file exists: " + file.exists ());it will return something like this:
    file.delete() returns: false
    file exists: true
    out closed
    file.delete() returns: true
    file exists: false
    Once again, note that it is the explicit close() of the file writer that matters here, not running System.gc(). Relying on garbage collector is a sign of very immature implementation and unprofessional programming style. Java programmers need to be as careful about releasing resources as C/C++ programmers -- just because the heap memory is handled for you automatically does not mean you could ignore file handles, temp files, socket handles, etc.
    The example applies to Windows. Explicitly closing file handles is equally important on UNIX as well. For example, failure to do so and relying on GC may cause a JVM process to run out of file handles very quickly [default max is ~20 on Solaris unless you explicitly increase the soft porcess limits].
    Vlad.

  • After Update, cannot delete files from nss volumes

    Not sure if this is the same problem caused by the SLES11 upgrade, but after running all the upgrades on an OES11 system, I can see all the nss volumes of the upgraded servers from workstations using the Novell client, and I can copy or create files on these volumes. However, I cannot delete any files, they disappear from the workstation windows explorer when they are "deleted", but an f5 promptly shows the files are still there. I can go into the server as root, and delete the files under Linux with no problems, so this part is working OK.
    I am running Novell 11.1 patch 1, and this problem has only been noticeable after the update installation.
    I have supervisor rights to the volumes and files, and if I additionally set all the other file rights, I am still unable to delete the files.
    Anyone got any ideas?
    Cheers.
    ChasR

    Originally Posted by chas
    Not sure if this is the same problem caused by the SLES11 upgrade, but after running all the upgrades on an OES11 system, I can see all the nss volumes of the upgraded servers from workstations using the Novell client, and I can copy or create files on these volumes. However, I cannot delete any files, they disappear from the workstation windows explorer when they are "deleted", but an f5 promptly shows the files are still there. I can go into the server as root, and delete the files under Linux with no problems, so this part is working OK.
    I am running Novell 11.1 patch 1, and this problem has only been noticeable after the update installation.
    I have supervisor rights to the volumes and files, and if I additionally set all the other file rights, I am still unable to delete the files.
    Anyone got any ideas?
    Cheers.
    ChasR
    I had a similar problem at updating with SP3 on SP4. It was similar, that permission ERASE is not applied to all trustees working through ncp in spite of the fact that it was available.
    Has solved a problem that has redefined this permission for trustees on all catalogues.

Maybe you are looking for

  • Can't forward messages to external address - it's impossible to choose e-mail from list

    Hello colleagues! Faced with a strange problem... I have Exchange 2010 SP2, need to forward mail from domain recipient to mail contact (I mean - external e-mail address). So I created this external contact in "Recipient configuration->Mail contact" b

  • Problems with body email using Email Event Generator

    Hi I need to start a workflow when an email is received by a email account. In order to do that, I built a Email Event Generator that uses the next channel: <?xml version="1.0"?> <channels xmlns="http://www.bea.com/wli/broker/channelfile"           c

  • Putting promo material onto a TON of iPods

    Hi all, I have an interesting question. I have approximately 120 iPod nano (3rd Gen) that are being given away by my client to their distributers. I have to put some promotional videos and images on each of them. Can I do this without all of the vide

  • Can't hibernate after reinstall

    I had to reinstall Arch on my Dell Inspirion 1525 a week back because I hosed the system :(  After the reinstall I can suspend and resume but can't resume after a hibernate. I didnt have any issues before the reinstall when I used init. I already add

  • How to make it work

    Java Runtime Environment ! I can not install this applet Please help windows installer can not install