​​ ​

The Apple Support Community will permanently close on November 20, 2026. Starting today, the site will no longer accept new posts and is available in a read-only state.


You can continue to find trusted guidance and support on the official Apple Support site. 


We want to thank the community members who have contributed their time and expertise to help others with their Apple products.


Files dragged to trash, are immediately deleted

I saw a thread regarding this, but it did not work. Any file I drag to my trash immediately gets a warning that the file will be permanently deleted, and I will not be able to undo. The fix offered was to go into the terminal app and type in a couple of queries. Where it failed for me was when I typed in sudo rm -ri ~/.Trash

I was supposed to get back: remove files in directory/users/XXX/.trash? But instead I get: examine files in directory/users/XXX/.trash?

I then type yes and I get: Operation not permitted.

can anyone help?



[Image Edited by Moderator to Remove Personal Information]



Posted on Mar 2, 2023 3:47 PM

Similar questions

3 replies

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Files dragged to trash, are immediately deleted

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.