lkml.org 
[lkml]   [2021]   [Jul]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH v4] ext4: wipe ext4_dir_entry2 upon file deletion
Date
Hi,

I'm curious about the nature of this feature. Does it make restoring
accidentally deleted files more difficult or even impossible? OK, data
remains but the patch description makes it sound like all the metadata
is being wiped completely.

> Upon file deletion, zero out all fields in ext4_dir_entry2
> besides rec_len. In case sensitive data is stored in filenames,
> this ensures no potentially sensitive data is left in the directory
> entry upon deletion. Also, wipe these fields upon moving a directory
> entry during the conversion to an htree and when splitting htree
> nodes.

If it's the case, is it possible to make this new security feature user
configurable? I'm OK with it being on by default but I'd be glad if
there were a mount option to disable it.

Best regards,
Artem

\
 
 \ /
  Last update: 2021-07-02 15:30    [W:0.583 / U:1.260 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site