Disable file deletion confirmation in Lion

How do I do this?

I have (4) Macs running Lion, including a new MacBook Air purchased today. On the MBA, when I want to delete a file, I'm getting a dialog box asking me to confirm the deletion and reminding me that the operation cannot be undone. I never saw this before on the other Macs. It appears nothing is going into the trash which may explain the problem. Can I unblock the trash?

Similar Messages

  • Suppress file deletion confirmation on remote server in Invoke-Command

    Hi!
    I try create function used for removing folders (and all content) on remote servers .
    $FullPathToDelete="\\"+("$Computername\$BasePath\$FolderToDelete").Replace("\\","\")
    if (Test-Path $FullPathToDelete -pathType container ) {
    $ScriptBlockContent = {
    paramater($FullPathToDeleteLocal)
    Get-ChildItem -Path $FullPathToDeleteLocal -Recurse | Remove-Item -Force $true -Recurse $true -Confirm:$false | Out-Null
    Invoke-Command -Computername $Computername -ScriptBlock $ScriptBlockContent -ArgumentList $FullPathToDelete -AsJob
    Remove-Item -Path $FullPathToDelete -Force | Out-Null
    Example values for variables
    $Computername = "SPPL09281"$BasePath="D$"$FolderToDelete="FolderName"
    All work but for every computer (I use this code in a loop) I receive additional prompt for confirmation
    Id Name State HasMoreData Location Command
    11 Job11 Running True SPPL09281 ...Confirm
    The item at Microsoft.PowerShell.Core\FileSystem::\\SPPL09281\D$\FolderName has children and the Recurse
    parameter was not specified. If you continue, all children will be removed with the item. Are you sure you want to
    continue?
    [Y] Yes  [A] Yes to All  [N] No  [L] No to All  [S] Suspend  [?] Help (default is "Y"):
    How I can avoid these confirmation prompts?
    Thank you in advance.
    Wojciech Sciesinski

    Hi Wojciech,
    In addition, The original confirm is reminding the folder you want to delete has subfiles, please try to add -recurse parameter:
    $FullPathToDelete="\\"+("$Computername\$BasePath\$FolderToDelete").Replace("\\","\")
    if (Test-Path $FullPathToDelete -pathType container ) {
     $ScriptBlockContent = {
      paramater($FullPathToDeleteLocal)
      Get-ChildItem -Path $FullPathToDeleteLocal -Recurse | Remove-Item -Force -Recurse -Confirm:$false | Out-Null
     Invoke-Command -Computername $Computername -ScriptBlock $ScriptBlockContent -ArgumentList $FullPathToDelete -AsJob
     Remove-Item -Path $FullPathToDelete -Recurse -Force
    If there is anything else regarding this issue, please feel free to post back.
    If you have any feedback on our support, please click here.
    Best Regards,
    Anna Wang
    TechNet Community Support

  • Prevent file deletion on server but allow read/write permissions

    So, I have several iMacs that are basically public computers.  They will all access a shared server.  The machines need to possess all of the user permissions of a "read/write" user with the EXCEPTION of being allowed to delete.  As it is now, a random user could delete our entire server in two clicks.  So, I need to somehow secure our data while still allowing the "reading" and "editing" of files.
    Here's what I need to do:
    •  Somehow disable the delete file function altogether (while still maintaining read/edit permissions) or
    •  Find some 3rd party app or workaround that prompts the user with a password dialogue box in order to execute the "delete" function or
    •  Somehow apply permissions to a specific folder on the server that enables read/edit, but disables file deleting by users
    I set the permissions of my trash folder to "read only" however, this only prevents deleting local files and doesn't prohibit deleting files from the shared drive.
    Thoughts?

    I'd rethink the requirements.
    The literal answer is that yes, you can mark the files as being undeletable.
    The access control list setting via the command line chmod command is something akin to the following:
    chmod +a "groupname deny delete"
    In practice, these same requirements do allow the shared files to be effectively deleted; via overwrite.  (This is why the Unix-layer file protections don't bother to differentiate write from delete access.)  These requirements also allow partial file corruptions, a situation which tends to be far more pernicious.

  • Set permissions to prevent file deleting

    So, I have several iMacs that are basically public computers.  They will all access a shared server.  The machines need to possess all of the user permissions of a "read/write" user with the EXCEPTION of being allowed to delete.  As it is now, a random user could delete our entire server in two clicks.  So, I need to somehow secure our data while still allowing the "reading" and "editing" of files.
    •  Somehow disable the delete file function altogether (while still maintaining read/edit permissions)
    •  Find some 3rd party app or workaround that prompts the user with a password dialogue box in order to execute the "delete"
    •  Somehow apply permissions to a specific folder that enables read/edit, but disables file deleting
    Thoughts?

    You should post your question in this forum
    https://discussions.apple.com/community/servers_enterprise_software/os_x_server
    But in a nutshell, using ACL's, you can give people read-write access, but not give them full control (i.e they can't delete.).

  • HT2674 I have an iMac purchased in May 2011.  OSX Lion 10.7.3.  I deleted backup file from the external hard drive. Now, the trash can will not empty some of the files deleted.  File folder: "Core Services" contains a locked file: "boot.efi".  It will not

    I have an iMac purchased in May 2011.  OSX Lion 10.7.3.  I deleted backup file from the external hard drive which operates from Time Machine.
    Now, the trash can will not empty some of the files deleted from the backup harddrive.
    The trash contains-- File folder: "Core Services" which contains a locked file: "boot.efi". 
    It will not delete.
    How do I get the trash can empty of these files?

    Yes, the Old Master file has a folder for each year where I find all photos from that specific year. I am attaching a screen shot of the file.
    In the meantime i have managed to download all photos (it did not download any video files though in mpg, avi, 3gp, m4v,mp4 and mov format) to a new iphoto library. Unfortunately the photos are quite mixed and often doubled up. I ma considering to purchase iphoto library which checks all duplicates in iphoto. this will save me a lot of time. What do you think?

  • 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

  • How do you disable "FILE IN USE" pop-ups so you can actually edit and delete PDFs?!

    Can someone please help me with this query:
    How do you disable "FILE IN USE" pop-ups so you can actually edit and delete PDFs?!
    I continue to have a pop saying that either the file in open somewhere in the serve- which it is not- and I cannot delete a particular pdf or edit it.
    It's incredibly frustrating and in the end I end up having four files with different names because it won't let me edit the original file!!!!

    Hi Amila1,
    Are the pdfs stored on a network location?
    If so is the Preview pane turned ON?
    Please check the doc: http://kb.globalscape.com/KnowledgebaseArticle10862.aspx
    Regards,
    Rave

  • Was the emergency records file deleted with the Mountain Lion operating system?

    Was the emergency records file deleted with the Mountain Lion operating system?

    It's a Quicken file & I was able to open same.  Not used often & the copy in my documents wouldn't open, but it did in the Quicken app that's friendly with Mountain Lion.  Learned something new today!

  • When I upgrade to Snow Leopard/Lion - after installing it are my files deleted and my preferences changed?, When I upgrade to Snow Leopard/Lion - after installing it are my files deleted and my preferences changed?

    When I upgrade to Snow Leopard/Lion - after installing it are my files deleted and my preferences changed?, When I upgrade to Snow Leopard/Lion - after installing it are my files deleted and my preferences changed?

    If you install those new OS X versions over the top of what you already have, your files and preferences should remain.  However, it's a very good idea to have at least one complete backup of your Mac's disk before you try anything like that.

  • ITunes will not delete file (after confirming & sending to recycle bin)

    Files deleted within iTunes do not disappear from my hard drive.
    I answer "Are you sure you want to remove the selected podcast from your iTunes library" and select the "Remove" button.
    I then answer "Do you want to move the selected podcasts to the Recycle Bin, or keep them in the iTunes Music folder?" with "Move to Recycle Bin".
    Music files (mp3) occasionally delete properly but video podcasts (Geek Brief to be specific) will not delete.
    Music is stored in J:\My Music\iTunes\iTunes Music which is slightly non-standard but seems to fit the rule of being "inside" the iTunes folder.
    Any ideas? [I've seen similar but not quite the same posts where people are trying to delete files outside the iTunes folders......]

    I too have this same problem with deleting video podcasts. The problem doesn't happen all the time, but probably a majority of the time. It is quite annoying as many of the video podcasts I subscribe to are in HD format so it is rather frustrating to have to manually delete them from the iTunes folder after deleting them thru iTunes, but since they take up gigs of space it is necessary to go in and clean them out every once in a while.

  • Delete confirmation dialog returned on its own

    I have Confirm Delete disabled in my email general settings and my email reconciliation settings for all my accounts set to delete emails on the device without prompting. However, starting today, when I select more than one email, text, etc. to delete, it pops up the delete confirmation prompt.
    I have pulled the battery, deleted browser cache and run the memory cleaner. This didn't rectify the problem.
    Help appreciated.
    Curve 8330, OS 5.0.0.438
    BlackBerry Curve 8530
    OS: 5.0.0.937
    Carrier: Boost Mobile CDMA
    16 GB microSDHC card installed

    Then it simply cannot be a settings issue as you have done everything right in that sense. If it started today and you restored to a backup from last week, we can also rule out any recent changes to device. I have been researching this for a while and cannot seem to find anyone else who has had this same problem (with 5.0 at least). My suggestion would be this; Backup all your data anew, reinstall your OS via Application loader (should also wipe your phone), test, then restore your settings. This will allow us (if nothing else) to rule out a possibility of file corruption or incompatability with an app... Keep me posted as I am still looking  
    1). Please thank those who help you by clicking the beside the 'Reply' button.
    2). If your issue has been solved, please resolve it by marking "Accept as Solution" on the correct post!
    3). Remember to have fun! We are all in this together!
    4). Follow me on

  • Okay, i have 2 bugs with maverick.  First, when I delete a file within a window, the files deletes but the preview doesn't delete until I close the window and reopen it.  Second, I work on a network of computers and the search feature is now buggy...

    Okay, i have 2 bugs with maverick.  First, when I delete a file within a window, the files deletes but the preview doesn't delete until I close the window and reopen it.  Second, I work on a network of computers and the search feature is now buggy...  When I search for a file, A) it asks me if it's a name, or it wont produce anything, and B), its slower than in prior OS versions and in some instances I have to toggle to a different directory and go back to my original directory in the search: menu bar or the search wont produce anything...  Very buggy. 

    It appears to me that network file access is buggy in Maverick.
    In my case I have a USB Drive attached to airport extreme (new model) and when I open folders on that drive they all appear empty. If I right click and I select get info after a few minutes! I get a list of the content.
    It makes impossible navigate a directory tree.
    File access has been trashed in Maverick.
    They have improved (read broken) Finder. I need to manage a way to downgrade to Lion again.

  • SRM - Delete confirmation (service entry sheet)

    Hi,
    we have the 5.00SRM.
    The user tried to post twice the same confirmation (service entry sheet) so the system replicated the first one in R3 and the second is in error for the Purchase order lock (message class SAP-T100 message-id BBP_ADMIN 010).
    It's right that the second is in error (Luckly!!!), but now we don't know how delete it (the second wrong confirmation), because in the confirmation transaction the delete button is inactive. Now the user need to create a new confirmation for the same purchase order, but since now all the confirmations for that purchase order go in error.
    Please, help me ... I looked all SAP notes and forum messages but I didn't find the solution.
    Thanks
    Lara

    Hi
    Which SRM scenarion and version are you using ?
    <u>Seems to be some bug in the system (Either due to wrong implmentation of some OSS note or some other reasons).</u>
    <b>Anyways, better to raise an OSS message with SAP as well.</b>
    <u>Refer to following OSS notes.</u>
    <b>535765 Too many entries in BBP_DOCUMENT_TAB
    1028584 You cannot delete confirmations that are in approval process
    863198 Confirmation screen is locked on click on delete button
    668829 Error when deleting held goods receipt confirmations
    852327 Disable Deletion of Confirmed PO Items
    994529 Conf can be deleted despite error in DOC_CHECK_BADI
    778489 Partial confirmations for back-end service purchase orders
    602973 Duplicate error messages during confirmation
    499917 EBP: deleted return delivery: BBPERS creates no invoice
    786051 Deleted service lines are checked
    515754 Deletion of held confirmation documents in back-end case
    355138 Cancellation of goods receipt/service confirmation
    430660 Deletion, change, return delivery possible after return</b>
    Hope this will help.
    Regards
    - Atul

  • How do I delete caches in Lion and which can I delete?

    How do I delete caches in Lion and which ones can be deleted?

    you can delete all of them, they will be recreated as soon as the app opens again.
    Clearing Local Caches
    quit all open apps
    open Finder press "shift+command+G" and type ~/Library/Caches
    Drag all files and folders to the trash
    Enter login password when prompted
    Reboot
    your system may seem slower after reboot, this is because the caches are being rebuilt.
    Clearing Application Caches
    quit all open apps
    open Finder Press "shift+command+G" and type /Library/Caches
    Drag all files and folders to the trash
    Reboot

  • How to disable PUT/DELETE method in SMC tomcat

    Hi,
    SMC provides tomcat as the web server to allow logon the SMC console through IE.
    For security consideration, we have to disable the http "PUT" and "DELETE" method of tomcat. Its config file seems to be /opt/SUNWsymon/web/conf/catalina.policy, but I have no knowledge of this file.
    Do anyone know how to disable PUT/DELETE method in tomcat? Or provide me a reference book for this issue?
    Thanks a lot.

    For security consideration, we have to disable the
    http "PUT" and "DELETE" method of tomcat. Its config
    file seems to be
    /opt/SUNWsymon/web/conf/catalina.policy, but I have
    no knowledge of this file.I'm not sure how to disable that feature, but be aware if you disable the ability for Agents to send files to the SunMC web server you may break all Configuration Tasks. Agent config files are sent to the Server by HTTP to allow them to be stored as templates/snapshots.
    I don't remember seeing instructions on how to make the changes you want: the quickest way to find out is probably to call SunMC support.
    Regards,
    [email protected]

Maybe you are looking for

  • Safari 5.1.2 update

    Hi all, This is the first time posting to the support discussion community. I am having trouble updating from Safari 5.1.1 to Safri 5.1.2 through Software Update. When I run the update, I get a dialog box with error that says "unknown error occured"

  • I can't add comments to cells in excel

    It has been working fine up until this week, I've been able to add comments to individual cells in a spreadsheet but now it brings up the text box to type into and then before you get a chance to type it closes the comment box.

  • BAPI/FM to modify the FI posting period

    Hi All, Is there any BAPI/FM to Modify the FI posting period. I know we can use BDC on TCode OB52 for modifying the FI posting period. But i want to keep this as a last option. Thanks, Sridhar

  • Converting photos to swf

    Is there a way to convert jpg/png, etc...to swf in CS3?

  • After ugrading to 9.0.1 the downloads have become slower..

    the spped has decrease from a average of 60-70 kbps to 10-15 kbps..