Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I used the Foremost tool for data recovery. It was taking too long so I decided to quit it. I closed the terminal and now it has left some folders behind and they have a lock sign on them. I want to delete them because they are occupying about 100 GB of my hard drive. I can't delete them even by becoming root.

sudo -s    
rmdir recoveredforemost

I made that folder recoveredforemost to store recovered data? How do I remove these folders?

share|improve this question
up vote 0 down vote accepted

i have solved it if anybody having the same problem try this

sudo -s                                             //become root
cd Desktop/recovered                               // go to directory for eg in my case recovered
chown username recovered
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.