Permission denied to delete directory Linux

Solved
anais320 Posted messages 2 Status Member -  
anais320 Posted messages 2 Status Member -
Hello, on my desktop, I have a folder that I can't delete because "permission is not granted." I opened the terminal and typed: sudo rm "folder name." I then entered my password, but it said "no such file or directory." The name of my folder is: recup_dir.1
How can I delete it? I really don't know much about computers.
Thanks in advance.

2 answers

jns55
 
Hello,
The simplest way, in a graphical mode:
Open the file browser as root
sudo nautilus
(or thunar or pcmanfm or even konqueror depending on your desktop environment)
Navigate to the Desktop folder and you will be able to delete your folder.
1
anais320 Posted messages 2 Status Member
 
I had to restart my PC, but I managed to do it, thank you for your help!
0