delete read only file

Asked by wininda kith

i want to delete virus files which were in windows. But I couldn't because it is read only and owner of those files is root. I install the Ubuntu 7.04 myself. But I don't have access to delete what is on my hard disk. Could you please help me to solve this problem. Thank you.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu yelp Edit question
Assignee:
No assignee Edit question
Solved by:
Koen
Solved:
Last query:
Last reply:
Revision history for this message
Best Koen (koen-beek) said :
#1

To have the permission of root for a while you must use sudo or gksudo commands in ubuntu

see https://help.ubuntu.com/community/RootSudo

So, if you're using ubuntu you can type
gksudo nautilus &
in a terminal to start a file browser (nautilus) -- you'll need to renter your password

alternatively you can click on Alt-F2 to open a "Run Application" dialog box in which you can type
gksudo nautilus
to start a root permission file browser

Revision history for this message
wininda kith (winindakith) said :
#2

Thanks Koen Beek, that solved my question.