I had the same issue with testdisk/photorec a couple years back.
I ran testdisk/photorec with "sudo" and it worked fine.
In terminal, type "sudo photorec" and type in the password when asked.
Good luck.
I ran testdisk/photorec with "sudo" and it worked fine.
In terminal, type "sudo photorec" and type in the password when asked.
Good luck.