I wish to recover a deleted file from my ext2 partition. The tools extundelete and testdisk are unsuccessful.
Now I try to use debugfs as
$ debugfs /dev/sda5
but I get
Permission denied while opening filesystem. Now if I run it with
sudo or in a root shell, then I do not even get a prompt in
debugfs and only Ctrl+Cworks.
How can I recover my file from ext2 partition? How can I make debugfs work? Is what happens in my case a bug?