Cannot Delete Recovered Files Topic is solved

Using PhotoRec to recover lost data
Post Reply
Message
Author
WilburKlick
Posts: 2
Joined: 14 Sep 2016, 02:36

Cannot Delete Recovered Files

#1 Post by WilburKlick » 14 Sep 2016, 02:44

PhotoRec was successful!

Now, I need help deleting a folder on my computer filled with large image files.

When I go to delete them, I'm warned that they are protected and I'm not the owner so I am not allowed to delete or make any changes.

There is only one user/profile on this computer.

How I got into this mess:

I accidentally deleted photos from my camera.

I installed TestDisk and used PhotoRec to recover all of the images on my SD card (which turned out to be a huge number of images).

After I copied the photos I wanted to keep, I tried to delete the huge folder that PhotoRec had created, but it wouldn't let me – protected, and I'm not the “owner” - so I have no right to delete.

I've opened as Administrator – still won't give me right to delete this folder or images.

When I go into Permissions as Administrator – the areas that would allow me to change permission are greyed out.

As you can tell, I'm not very computer savvy.
I think PhotoRec said something about working at the "root" level while performing photo recovery.

How can I get rid of this gigantic file of images now residing on my computer?

Thank you.



Operating System:

Linux Mint
(release # 17 / qiana; Kernel Linux 3.13.0-24-generic; MATE 1.8.1, 32 bit)

Hardware

Dell Dimension 3000

memory = 2.0 Gib
processor: Intel Pentium 4,CPU 2.8 GHz

i686 (32 bit)

Sponsored links

User avatar
cgrenier
Site Admin
Posts: 3765
Joined: 18 Feb 2012, 15:08
Location: Le Perreux Sur Marne, France
Contact:

Re: Cannot Delete Recovered Files  Topic is solved

#2 Post by cgrenier » 14 Sep 2016, 19:29

You need to take ownership of the directories to be able to delete the files.
Try

Code: Select all

sudo chown -R user:user recup_dir.*
, replace user by your username.

WilburKlick
Posts: 2
Joined: 14 Sep 2016, 02:36

Re: Cannot Delete Recovered Files - problem fixed

#3 Post by WilburKlick » 14 Sep 2016, 23:04

Thank you cgrenier!

That fixed the problem - "took ownership" of those locked folders and was able to delete them.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest