Sunday, May 5, 2024
 Popular · Latest · Hot · Upcoming
16
rated 0 times [  16] [ 0]  / answers: 1 / hits: 24208  / 3 Years ago, tue, november 16, 2021, 1:50:32

I installed a game, and then decided to erase it. I sent it to the recycle bin, but I was unable to delete it completely (Permission denied). When I moved it back to the desktop, a copy remained in the recycle.
I sent it back to the bin, and back to the desktop; so I ended with 2 copies of the file in the bin, and one on the desktop.
Finally I noticed that a file inside the game was protected. I changed the permission settings to the desktop copy and I was able to erase it completely, but I was not able to change the permission settings on the 2 copies I still have in the bin (the backend do not support the operation)



I just want to empty the recycle bin!


More From » permissions

 Answers
7

The following command will empty the trash



sudo rm -rv .local/share/Trash/


And when you don't want any prompts with 'Do you want to delete write protected file x?' add the -f option.



sudo rm -rvf .local/share/Trash/

[#39136] Wednesday, November 17, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
nosaurindb

Total Points: 266
Total Questions: 113
Total Answers: 120

Location: Ecuador
Member since Tue, Jul 26, 2022
2 Years ago
;