Fedora Linux Support Community & Resources Center
Old 13th January 2009, 03:00 PM
satksri Offline
Registered User
Join Date: Jan 2009
Posts: 5
Deleting unwanetd files in 'root'

I am a newbie, just switched from Vista to Fed10. Have a problem:
Accidentally I downloaded some pictures form phone to root directory. I am unable to delete these files now- I cant change the permissions of this folder.. It says, your are not the owner.
What can I do?
Reply With Quote
Old 13th January 2009, 03:11 PM
geezah Offline
Registered User
Join Date: Dec 2008
Posts: 4
i would suggest you

1. open your terminal, type "su" then type your root password then enter

2. type cd /root (say your pictures are in /root)

3. type ls (to see they are listed there)

4. type rm -f *.jpg (if they all have .jpg extension or you could replce *.jpg by individual photo name)



Last edited by geezah; 13th January 2009 at 03:40 PM.
Reply With Quote
Old 13th January 2009, 03:24 PM
pwca Offline
Join Date: Nov 2008
Posts: 827
On the Gnome Panel there is a "Start Here" button just like in Microsoft Windows but it looks like a hat. Click on it.

Now scroll down to "System Tools" and let that slide out from the menu another gui where you can scroll down to "Terminal". Click on that.

A gui will pop up that looks sort of like an old fashioned dos prompt.

Inside that gui type:

su -
Don't forget that dash after the "su".

When it asks you for the root password type it out and hit the enter key.

You are now the "root" or "super-user" of the computer.

Now type:

ls -al
this will show you a complete list of all the files in the directory: /root

to remove the files you want type:

rm -f filename
When you are done deleting the files you can exit the gui by typing.. "exit" two times.
Reply With Quote

deleting, files, root, unwanetd

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Deleting files in KDE wombat53 Using Fedora 5 8th March 2009 09:57 PM
Deleting file with root profiles from the trash Swannjohn Using Fedora 5 11th January 2009 09:33 PM
Stupid Question RE deleting root owned folder tizwoz Using Fedora 3 11th October 2006 01:49 PM
Deleting kernel files Ridgerunner Using Fedora 3 10th March 2006 10:18 PM
Deleting tmp files satimis Using Fedora 7 1st November 2004 05:32 AM

Current GMT-time: 07:26 (Tuesday, 22-08-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat