WARNING - files deleted without confirmation

This is more of a cautionary post that a question. We have unfortunately discovered a repeatable problem in the open/save dialog box. Should you accidentally right click on a listed folder/file (easy enough with a magic mouse), it is too simple to "move them to trash" since it is right at the top of the contextual menu. Maybe not a huge deal if the files are on a local drive and can be put back, but if they are on a network drive they will be deleted immediately WITHOUT the usual dialog box warning. Heads up.

This indicates the permissions on the .Trash folder (where the files are put when you delete them) are wrong.
Copy the following into the clipboard
ls -lad@ .Trash
Open a Terminal window (use Spotlight, type Terminal into the window) and paste the line into the Terminal window.
Copy the text here. You should see something like
LIBMACLAPcaggiano:~ frank$ ls -lad@ .Trash
drwx------  6 frank  admin  204 Sep  5 07:56 .Trash/
LIBMACLAPcaggiano:~ frank$

Similar Messages

  • Original RAW files deleted without warning and not retrievable from trash

    I mistakenly deleted a bunch of stacked RAW originals from a web album, thinking they would only be removed from the web album, in which I only wanted to keep the adjusted versions. Since I didn't get the usual "are you aure you want to delete the master" dialog box, I didn't realize what was happening. When I went back to my main project, I saw that all the RAW originals had actually been deleted. Worse, they were NOT in the trash! So I am left with the edited verions of the RAW files instead of the originals. Help! Is this normal?

    No not at all normal, and if they are deleted, the Trash should contain an Aperture folder with the images. It may be the library index has been corrupted. It may also be that you have a selection filter in use preventing the images being displayed.
    Otherwise ...
    In Finder, navigate to your "Aperture Library.aplibrary" and right click. Select "Show package contents." Select the project which should contain the missing RAW files and right click. Select "Show package contents" again to expand the project.
    Enter a spotlight command for your RAW files .... ex: .CR2 or .NEF etc. This should show you all the RAW files within the project. Unless you know a specific filename, I would select them all and copy them to a new location. Then review the Thumbnails to see if you can see the missing RAW(s).
    If they are in the project but not displayed, rebuild the library by relaunching Aperture while holding down <Option><Apple> keys. Pick "rebuild" at the splash screen.
    G.

  • How to make JDS confirm file deletion?

    I use the bash shell when logged in over SSH and I always set the following alias just in case I do something stupid:
    alias rm="rm -i"Is there a similar setting for JDS that I can tell it to confirm file delete whenever I try to delete a file (i.e. popup a standard "Are you sure?" dialog box)?
    Thanks!

    By default JDS file browser "deletes" files to the trash can - a la windoze Recycle bin 8-( -
    so it doesn't feel the need to double check as you can always reclaim the file from there.
    Emptying the trash includes an "are you sure" which can be configured from the folders settings pane:
    Launch->Preferences->Desktop Preferences->Folders and pick the "Behaviour" tab
    If you mean you want the double check made in a terminal or console displayed within JDS, as opposed to using the file browser, then you need to place a suitable command in the configuration for the shell you're using e.g. .profile or .cshrc etc.
    Regards,
    Paul

  • StorageFile.DeleteAsync() delete file fail without any exception sometimes.

    I develop a test tool to Write a file, then delete it, over and over again.
    Using "await StorageFile.DeleteAsync()" to delete file , sometimes, it run successfully without any exception, but the file to be deleted wasn't deleted as expect. Why the API " StorageFile.DeleteAsync" doesn't work?
    Thanks.

    Hello,
    Code is as this:
     private async void SDCardFile(String basename)
                while (true)
                    if (this.isStop)
                        return;
                    Boolean isWirteSuc = await WriteSDCardFile(fileName, writeText);//writefile
                    if (isWirteSuc)
                    else
                    Boolean isDeleteSuc = await DeleteSDCardFile(fileName);  //deletefile
                    if (isDeleteSuc )
                    else
     private async Task<bool> DeleteSDCardFile(String filename)
                try
                    StorageFolder externalDevices = KnownFolders.RemovableDevices;
                    StorageFolder sdCard = (await externalDevices.GetFoldersAsync()).FirstOrDefault();
                    StorageFile storageFile = await sdCard.CreateFileAsync(filename, CreationCollisionOption.OpenIfExists);
                    await storageFile.DeleteAsync();
                    return true;
                catch (Exception ex)
                    return false;
    I use a timer to stop the test after 12 hours, during this test, most of the file delete success, but some failed, it still return "true"  from "DeleteSDCardFile(String filename)", so there is no exception, but the file is not deleted,
    I can find these files on SD card.
    Look forward to your answer, thanks for your comments.

  • File deletion in root and subdirectories.

    Greetings,
    I have a question regarding Batch scripting. I am trying to create a system maintenancing script which removes .TMP and .BAK files from all of my drives both subdirectories and directories above. Let's say the Batch script would be placed into "Folder3"
    in the following internal drive address "C:\Folder1\Folder2\Folder3\Folder4\Folder5". And I want the batch script to remove files from folders 4 and 5 as subdirectories but also to remove files from C: Drive and folders 1, 2, and of course 3 itself
    but without removing folders. And I'd like to apply this method to all drives simultaneously without a human user personally moving the script via cut/copy and pasting from drive to drive. The other alternative which can come into consideration is to create
    a Batch File with any address location on the internal drive and when running this Batch file it'll create additional Batch Files on specified (multiple) drives at the very root of drives in the drive address of C:\ for instance, and initializes the required
    file deletion process. Some of the folders require my Administrator priviliges therefore I'd like to create a code within the script that ask for user permission and says "Yes" but without actually asking from me as the user to click "Ok"
    or "Yes" when running the script itself or to fully bypass the firewall. I have created the other part of the coding for deleting specified superfluous file types and in what way it's just the sub and above-directory part of it that gives me a pause
    to proceed. Any help is greatly welcome or pointers. If my request would seem cluttered please notify me of it and I'll try to simplify it down, although I hope I wasn't too confusing with the elaboration.
    Thank you in advance, even for the consideration.
    Kind Regards.

    @ECHO OFF
    for %%a in (C: D: E: F: G:) do call :Sub %%a
    goto :eof
    :Sub
    echo Processing %1
    del /s /q %1\*.tmp
    del /s /q %1\*.bak

  • Can the items in trash be deleted without effecting the computer

    can the items in trash be deleted without effecting the computer...in other words is the computer using any of the files in trash

    An item that is moved to the trash is temporarily stored until you Empty the Trash. Data that is moved to trash is unusable by the system. Same as it would be in real life where you put items in your trash bin but you could take it back out if you haven't already thrown the trash away

  • Problem with File RFC File scenario without using BPM

    Hi all,
      I am trying a File RFC File scenario without using BPM with the help of the following thread:
    File - RFC - File without a BPM - Possible from SP 19.
      The XI system is PI 7.0 sp 12. When I am trying to acheive the above scenario, I am getting wierd results i.e., when I observe in SXI_MONITOR, the message is showing as processed successfully, but when I watch the message status in communication channel monitoring, I am getting the following error:
    "Attempt to process file failed with com.sap.aii.af.service.cpa.CPAException: Couldn't retrieve inbound binding for the given P/S/A values: FP=;TP=;FS=DEV120;TS=Test_Service;AN=MI_Invoice;ANS=urn:sap.com:test;"
    I am not able to understand what the problem is. By the way, one more thing, is, I have kept the File processing mode as "Delete" in the sender file adapter. But the file is not getting deleted. I think the reason could be because of the above error.
    Can any body help me out in getting my problem resolved?
    Thanks,
    Adithya K

    CPA Cache Refresh from the Adapter Engine To trigger a cache refresh from the individual Adapter Framework, open a browser window and enter the following
    URL: http://<host>:<port>/CPACache/refresh?mode=<b>delta|full</b>
    The Monitoring url is like this: http://<host>:<port>/CPACache
    Thanks & Regards,
    Farooq.

  • There is no warning before deleting a playlist or folder?

    Hello all,
    I wanted to ask if there's a way to get a warning before deleting a playlist or folder?
    I've organised my music in folders with playlist but hitting the return button will remove a complete folder at once and I don't know how to recover it. The songs are still in the lib but how can I recollect my lost playlists when I have a few 1000 songs in the lib?
    Or is there a way to backup the playlists so I can recover them that way?
    Thank you

    You likely selected, at one time, the "Do not ask again" box when you deleted a playlist. If something's already been deleted, do not expect to get it back. If you want that option to return again, you may be able to deleted you iTunes plist. With iTunes closed, go to your home folder > library > preferences and delete a file called come.apple.itunes.plist. Restart. Try and open iTunes and remove a playlist (create a blank one if there's nothing you can safely delete).
    As for saving playlists and such:
    http://docs.info.apple.com/article.html?path=iTunesMac/7.4/en/15271.html

  • Alternative to File.delete() and deleteOnExit()

    Is there any GOOD way to delete physical files from a Java app running under Windows besides the File object's incredibly lame and emasculated delete() and deleteOnExit() methods?
    Despite my best efforts, I have yet to find ANY circumstances under which calling File.delete() will actually delete a file under Windows XP... It's as though the mere act of a running Java application becoming AWARE that a file exists is enough to make the JVM lock the file so nothing else can touch it (including the running app itself).
    Is there perhaps some alternate JNI-based alternative that treats deletions as more than polite suggestions that a file be considered for future removal, and PERSONALLY sees to it that the underlying OS makes an immediate and determined effort to physically delete the file IMMEDIATELY?

    The File object referenced above is used to open a FileInputStream, which is subsequently closed prior to calling the File object's delete() method.
    From what I've read about this problem over the past few days, it arises because Sun didn't follow their own best practices and left releasing the file lock to the Stream's finalize() method (or otherwise left some critical prerequisite to the lock's release to a garbage collection run)... which, as we all know, is something you should never do when you're DEPENDING upon having something executed because there's NO guarantee it will run in a timely manner, or even run at all (if, say, the application throws an Exception).
    Apparently, the problem arises something like this:
    A running Java app creates a File object and does something that requires doing actual I/O upon it, like opening an input/output stream.
    The JVM asks its abstraction layer to ask Windows to open the file. A delegate is dispatched to contact win32 and request a file lock. Windows creates a file lock in the thread's name, and gives the delegate the good news.
    The running app does its stream I/O.
    The running app closes the stream, and nullifies the object's reference just to be safe.
    Unfortunately, the JVM has other plans in mind. It throws the old Stream object into the garbage collector's work heap, then forgets it ever existed without bothering to stick around and personally make sure the file lock is released RIGHT AWAY.
    The running app continues... it's done with the file and has no further use for it, so it calls the File object's delete() method as its final act before nullifying the File object itself.
    The JVM dispatches another delegate to ask Windows to delete the file. Unfortunately, windows notices that the JVM still holds a lock on the file and tartly sends it home empty-handed, with instructions to tell its parent to make up its mind what it wants to do with the file. The delegate meekly reports failure, and the message is passed back to the running app without further action.
    What SHOULD happen:
    Calling Stream.close() should cause a delegate to be IMMEDIATELY dispatched to notify Windows that the lock should be released.
    OR, if Sun doesn't want to do that for performance reasons, then the JVM should double-check to make sure that the failure wasn't its own fault -- forcing an IMMEDIATE sweep through the garbage collector to return any queued-for-release file locks (possibly after taking a side trip to verify that the file still physically exists), followed by a second deletion attempt once it's certain that windows has responded to its request to release the lock.
    Calling System.gc() before calling File.delete() seems to work for now... but it's a really bad kludge that Sun needs to address since there's technically no guarantee that the garbage collector will actually run and release the lock.
    IMHO, this is an outright shameful bug. Sun can make all the lame excuses it wants to make about enforcing platform abstraction, but the fact is... anyone who calls File.delete() after personally making sure they've cleaned up after themselves by closing their streams has every reasonable expectation that the file will, in fact, be physically deleted unless some OTHER app or thread has acquired a secondary lock in the meantime. The buck has to stop somewhere. File deletion is one of those unglamorous tasks that nobody really thinks about until it doesn't work... and when it fails, it comes as a really rude surprise. If Sun can't alter the behavior of File.delete() for legacy reasons, then they should add an alternate method, like "File.deleteNow() throws RuntimeException" that guarantees the following behavior:
    "The JVM asks the host operating system to delete the file. If the OS refuses, the JVM tries to figure out why, and whether the failure might be its own fault. If it has reason to believe it's its own fault, it will force an immediate garbage collection run to clean up any outstanding mess, then ask the host OS to delete the file again. If it succeeds, the method returns true. If it fails, a RuntimeException (or subclass that actually lets the caller figure out why it failed) gets thrown."
    The key point is that File.delete() must NEVER fail unless some OTHER app, process, or thread that's completely unrelated to the one that locked the file and now wants it deleted has acquired a lock on the file in the meantime. I think just about everyone will agree that the current behavior of File.delete() under win32 absolutely violates the implicit contract that developers reasonably expect of a function to delete a file.
    Just to give one concrete example of a scenario where File.deleteOnExit() isn't feasible... suppose you have some emergency maintenance task that needs to be launched (with manually-supplied arguments) every few months when Something Bad happens... usually at night or over a weekend. To make life easy, the emergency app is implemented as a Servlet (so the notified individual can quickly and easily fix it in 3 minutes with his PalmOS phone and browser). The problem is, deleteOnExit() won't do much good when called from a Servlet, because the JVM running Tomcat hosting the Servlet is almost guaranteed to run for months without actually exiting... and when it finally DOES exit, it probably WON'T be graceful or intentional...

  • Can we delete a confirmation done in SRM ??

    Hi All,
    Once we have created a Confirmation in SRM against a PO, is it possible to delete it directly
    (i.e. without doing a Returns Delivery)  ??
    Thanks,
    Ruchika

    Hi Ruchika,
    When ever you want to delete a confirmation , you can post the cancellation document for the confirmation which in turn deletes the confirmation posted. You can either perform a cancellation for the complete quantity or partial quantity.
    Hope this answer helps.
    Regards,
    Kalyan

  • Read report - deleted without reading

    Sent a letter with the "read report", and Icamethe message status.
    "was delivered and not
    read" - in Outlook
    and
    "was deleted without reading"
    - in the mail client Iphone, Windows Phone
    In this case, the recipient has not read
    the letter, and it was not removed.
    Moreover, if I send the same email to other
    recipients, such messages do not come
    only after reading the notice of the reading.
    If I send another letter to the same
    recipient, no notifications are also absent.
    Also disturbs formulation posts
    when viewed through the operating system IOS (Iphone, Windows Phone),
    since changing the meaning of the notice.
    Person receiving such a message might think that
    the recipient has deleted the message
    without reading.
    Help to understand why only one letter has come
    to such a notification, and whether it is possible
    to change the text messages to mobile devices?

    Hi,
    I would like to collect some information.
    What’s the client version on the recipient’s side?
    Does the recipient use AutoArchive to save the outlook data?
     When a message is archived, it's copied to the archive file, then deleted from the server.
    If the message was not saved to the Archive, where the message go to?
    Please update the exchange server to latest patch.
    What’s more, do you mean change the text message of ‘was deleted without reading’ to the mobile devices? If yes, I couldn’t find a way to change the text messages.
    Thanks.

  • I recently switched from years of PC to iMac ( OSX 10.7.5) and need to batch convert thousands of old WordPerfect files (many without an apparent file extension) into my new Microsoft 2011 Word.  I am a computer nitwit and am hoping for some simple sol'n.

    I recently switched from years of PC to iMac ( OSX 10.7.5) and need to batch convert thousands of old WordPerfect files (many without an apparent file extension) into my new Microsoft 2011 Word.  I am a computer nitwit and am hoping for some simple solution.

    Try reindexing the mailbox. This can take awhile if you have a lot of mail.
    Reindex messages.
    If that doesn't work try deleting MessageUidsAlreadyDownloaded3.
    Quit the application.
    You need to look in your user Library. Either hold down the option key while using the Finder “Go To Folder” command and select your user Library in your home folder or use the Finder “Go To Folder” command and enter ~/Library/Mail/V2/Mail Data/MessageUidsAlreadyDownloaded3.  Move the file to your desktop.
    Open the application and test. If it works okay, delete the file from the desktop.
    If the application is the same, return thefile to where you got it from, overwriting the newer ones.
    If you prefer to make your User library permanently visible, use the Terminal command found below.
    Show User Library
    You might want to bookmark the command. I had to use it again after I installed 10.8.5. I have also been informed that if you drag the user library to Finder it will remain visible.

  • Reasons File.Delete returning false

    Hi,
    I always assumed that if file.delete did not delete a file, it would raise an exception - however, today I have found out otherwise.
    What are some of the reasons why File.delete would return false (without throwing an exception). I've haven't seen the results of a chmod (which I am waiting on, but I have been assured they are set correctly - besides, I can delete files on the server directory through an Explorer on my Client PC.
    Thanks,
    Red.

    Thanks,
    It actually turned about to be an Oracle based setting (in ora.init) which was causing the problem.
    Of your answers -
    1. I believe would return a permission exception.
    2. It would think would raise an acess exception
    3. Should return false
    4. Would likely raise an exception
    Although I could be wrong...
    Thanks again,
    Red

  • HT204053 best storage for filies deleted but used frequently wd drop box flash drive

    best storage for filies deleted but used frequently wd drop box flash drive

    Thanks LowLuster!  With that info I have another questions if that's ok.  First, I'm sure it's formatted to fat32.  I have learned I can't transfer movies over 4gb.  I use an external hard drive for those.  The files are ones I've downloaded from YouTube in the mp4 format and are never over 1gb.  They're all mb in size. 
    I didn't realize flash drives had limited writes.  Is there any way to confirm I've reached the limit?  Both times I reformatted it I was able to add back the videos I previously had on it.  I would say there were a hundred or so. Both times I left some "growing room" on the flash drive so I could add more files.  And, both times I was able to continuing adding until I had reached the max capacity.  The problem occured after I tried deleting files to free up space.  Does this make sense with "the amount you have used it" theory?  Does it start to become buggy at that point, or does it just make writes to the drive impossible?
    Thanks

  • Ant: warning: file modified in the future

    Hi
    I got these strange messages "warning: file 'name of file' modified in the future' for each of my files whilst compiling in Ant. I changed each file and saved (made white space then deleted) and the error messages went away. However, when I make a real change to my JSP or servlet files, it has no effect on my output.
    I'm a newbie and after searching on google I'm guessing that the changes I've made to my files won't take effect until a certain time?!!? But not really sure what to do. Anyone been here before?
    Thanks,
    Mike

    From ant user manual, Zip Task and Jar Task
    The update parameter controls ... Please note that ZIP files store file
    modification times with a granularity of two seconds. If a file is less than two
    seconds newer than the entry in the archive, Ant will not consider it newer.
    So I tried adding <sleep seconds="3" /> before my WAR task but it didn't help. Then I suspected its new US Daylight time savings change issue as I am using IBM WebSphere 6.0.2.11 JVM to run this deployment target and here I got it. Once I forwarded the system clock to April 3rd and ran it, the warning didn't show up any more. So instead of patching the IBM JVM, I would rather wait till next Monday and I ll never be able to reproduce it any more. :-)

Maybe you are looking for