Actually, there was (is?) a weird corruption bug with ext4 (the default filesystem in Ubuntu), and the way it clears a file on save can result in lost data if the save is cut off by a sudden shutdown, etc.
It's not exactly Ubuntu's fault, but I have had files destroyed and damaged from time to time.
Bookmarks