[lkml]   [1997]   [Jan]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: preventing undeleting on ext2?
On Thu, 2 Jan 1997, nerull wrote:

> It used to be possable to prevent undelete by deleting a file, over
> writing it byte for byte, and deleting that file. But it seems that this
> no longer works under the newer kernels. How could one be prevented for
> undeleting files under the newer kernels? And info would be greatly
> appreaciated. Thanks.
> P.S. Please respond via E-mail(I'm not sure I will get it on the list)

If you want to keep the file from being altered at all, you can set the
immutable flag. Check out the manpage for chattr(1). Linus disabled the
"secure delete" feature because it caused problems with various things.

 \ /
  Last update: 2005-03-22 13:38    [W:0.030 / U:0.792 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site