Testdisk is able to recognize deleted files and folders in normal mode. You may have used the List option instead of the Undelete option in the process of recovering deleted files in Linux, which can cause this problem. So make sure to use the Undelete option to identify the deleted files and restore them by following the instructions in our article, and then copy them to the selected folder using shift+c. You also need to change the permissions of the files from root to owner.