Root Permissions- won't let me delete

Asked by Kegan Queen

Recently using Photorec, I recovered a few documents I had accidentally erased. Having not payed attention though, I allowed it to put bunch of folders (on both my desktop and under users>documents) on my computer, that can only be deleted by "root." I tried to find these folders using Nautilus (which I was told would allow me to delete them), but I had no such luck. Is there another way to delete these folders?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Ian Ace
Solved:
Last query:
Last reply:
Revision history for this message
Best Ian Ace (iaculallad) said :
#1

To delete "root-only" folders, you can use:

sudo rm -r folder_name

OR

gksudo nautilus

and locate the folder you want deleted.

Just be careful when using the commands I mentioned above as you CAN delete any folder you want deleted.

To better understand sudo and gksudo, try reading the link below:

https://wiki.ubuntu.com/RootSudo

HTH.

Revision history for this message
Kegan Queen (kegan-queen) said :
#2

The problem is that when I'm using "gksudo nautilus" none of the folders show up. It says there is nothing on my desktop at all as a matter of fact.

Revision history for this message
Kegan Queen (kegan-queen) said :
#3

Nevermind, I was just not looking for the folder right.

Revision history for this message
Kegan Queen (kegan-queen) said :
#4

Thanks Ian Ace, that solved my question.