Can't delete a folder.

Asked by STUFFF

Hello.I'm new UBUNTU user.This is like a cave man in front of a computer - i don't know nothing about linux.I have a folder on my desktop and i can't delete it.I can move it into the bin but i cannot remove it from the trash becouse i don't have the permission.From properties i can't change the permission.What should i do?

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu gnome-terminal Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
davidgf (david-davidgf) said :
#1

you have to delete it using root user

For this goto Terminal (Aplication > Accessories > Terminal) and there write:

cd /home/username/.Trash

where username is your username

sudo rm filename

where filename is the file you want to delete

You'll be asked for your root password (the one you wroteduring installation process) after writing the delete instruction, so write it down

That's all

Revision history for this message
David Vincent-Jones (davidvj) said :
#2

I have the same problem .. and followed your instructions.

After the first command I am in the '.Trash' directory ... OK

The result from the next command:
david@david-laptop:~/.Trash$ sudo rm /home/david/Desktop/hplip-2.7.12
rm: cannot remove `/home/david/Desktop/hplip-2.7.12': Is a directory

Did I miss something.

The HPLIP folder is a residual from a reinstall of the latest version of the drivers.

David

Can you help with this problem?

Provide an answer of your own, or ask STUFFF for more information if necessary.

To post a message you must log in.