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 have number of folders (over 60 folders) located in my file system folder and two folders with lock symbol on folder icon recup_dir.1, recup_dir.2 and I have removed testdisk using Synaptic Package Manager. But these folders are still there. Any help?

share|improve this question
What is the content of these directories? Did you sucessfully retrieve your files? – Takkat Apr 21 '13 at 19:50

When you run photorec / testdisk, you need root access to use them. Because of this, you end up with the folders that are created in a Read only state. You don't have permission to write or delete them.

What I normally do is one of the following actions:

  • Press ALT+F2 and type: gksu nautilus

    enter image description here

    Then navigate to where your folders are and DELETE the folders.

  • In the terminal go to where the folders are and do the following:

    chmod 777 FOLDER/ -R

    assuming FOLDER is the main recovery folder and inside of it are all the recovery folders. You can change the 777 value to a 700 if you do not feel safer from others looking on the computer ^^.

If the folders are not inside a custom (Eg: home/recoveryfolder/recup_dir.X....) then you must apply the chmod to each folder seperately or do something like this in home:

chmod 777 recup_dir* -R

This should bring back the access permission to all recup_dir folder for you.

share|improve this answer
ok now i have used the first step and removed the files in the file system folder but i couldn't access the folders in my home(recup_dir.1, recup_dir.2 and – user151010 Apr 22 '13 at 8:26
@user151010 try the new method. – Luis Alvarado Apr 22 '13 at 12:40

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.