0

I understand that for instance on a Windows system that when you delete a file that in fact it is not deleted as such immediately, but that the file is just marked meaning that other files can override it. This means then that some deleted files can then be recovered after their deletion.

Is there a similar system on Ubuntu? And if so is there a way to get it so that the deleted files, before their actual deletion, are encrypted or something so that if they are recovered then they cannot be read?

I am running Ubuntu 14.10.

2 Answers2

4

You're looking for wipe. I'm not sure if there's a way to make that the default delete handler though.

RobotHumans
  • 29,530
2

This is actually a property of the filesystem, not the OS. Most filesystems don't delete the contents since it more efficient not do so. This is true for ext4 as well. Recovering file data is, therefore, possible; metadata, on the other hand, is more difficult.

muru
  • 197,895
  • 55
  • 485
  • 740