Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 11-19-2007, 12:54 PM   #1
Registered: Jul 2007
Posts: 52

Rep: Reputation: 15
Emergency : accidently deleted my user directory

I am using Fedora 7, with gnome.
I accidentally , while in root mode, deleted the folder containing my account
Everything is lost now???

I tried just creating the directories again and naming them exactly with the same names as before. But the directories came up empty.
I really have to know if there is a way of restoring my files , there were many many important things there...
please help
Old 11-19-2007, 12:56 PM   #2
Registered: Jun 2005
Location: Portland, ME
Distribution: Slackware 13, CentOS 5.3, FBSD 7.2, OBSD 4.6, Fedora 11
Posts: 122

Rep: Reputation: 17
Assuming you didn't back these files up anywhere else, I'd say everything is gone
Old 11-19-2007, 01:01 PM   #3
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
One thing you can do is stop using the disk and take it to professionals who may be able to recover the data. Such accidents are an example of why most people say you should stay clear of using the root account and when you have to use it, take great care.
Old 11-19-2007, 01:22 PM   #4
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Don't do anything that would write to the disk---including making new directories. In principle, the data is recoverable. There many utilities around, or you can take it to a professional.

If the data is really valuable, then I would consider cloning the drive before doing anything else.
Old 11-20-2007, 05:33 PM   #5
Registered: Jun 2006
Location: Texas
Distribution: Ubuntu 8.04
Posts: 94

Rep: Reputation: 17
Yes by all means clone the drive first. to recover your data try testdisk its on the SystemRescueCD


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Deleted /boot directory accidently!!! jim_cliff11 Linux - Software 3 10-21-2006 01:41 PM
Deleted /var/mail/user directory Maeltor *BSD 2 05-20-2006 02:03 PM
accidently deleted my ~/.Xauthority behmjoe Linux - Software 4 12-14-2005 10:53 PM
I accidently deleted the lib directory ICO Slackware 2 02-10-2004 12:40 PM
write permissions for directory - not accidently move/deleted the directory linuxgamer Linux - Newbie 10 12-02-2003 03:04 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:35 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration