I had the problem that my Macbook Pro always automatically deleted my files permanently. Since I often use my trashcan as a “temp” folder I wanted it back. I found this tutorial and it was very helpful, seems that my user didn’t have enough privileges, however this happened.