MacBook - unable to place in trash

Solved
Carlinow -  
 Carlinow -
Hello everyone,

Since this morning, I can't seem to put anything in the Trash on my MacBook... Dragging my files into it doesn't work. When I try to delete a file, it says it will be permanently deleted (without going through the Trash).

I must have done something without realizing it, or something... I don't know.

If someone can help me, I would be very grateful :)

Carlinow.

3 answers

  1. _Ritchi_ Posted messages 21130 Registration date   Status Contributor Last intervention   6 136
     
    Hello,

    This happens when the permissions associated with the Trash have changed.
    Open a Terminal window (Applications / Utilities / Terminal) and copy/paste the following command:
    ls -lad ~/.Trash


    Here’s what it returns for me:
     [iMac-Papa:~] imac1250% ls -lad ~/.Trash drwx------ 339 imac1250 staff 11526 Mar 18 19:16 /Users/imac1250/.Trash 


    What’s important in the response to this command is that the Trash belongs to you, which is my case because my short account name (imac1250) appears in the response.

    If you don’t have that, then you need to type a command like this to regain ownership of the Trash:
     sudo chown yourShortName:admin ~/.Trash


    To find yourShortName, it’s the string of characters before the % when you open a Terminal:
     [iMac-Papa:~] imac1250% 


    Ritchi
    2
    1. Carlinow
       
      Hello Ritchi and thank you for your response.

      Here is what I get as a response in the Terminal:

      new-host:~ macbook456$ ls -lad ~/.Trash
      drwx------ 3 root staff 102 Mar 18 02:38 /Users/macbook456/.Trash
      new-host:~ macbook456$

      My account name is indeed there, but not in the same way... Also no % ...
      0