Isso é suportado apenas por alguns sistemas de arquivos Linux:
chattr +s sample.txt
pode (ou não) fazer o que quiser.
De man chattr
:
NAME
chattr - change file attributes on a Linux second extended file system
...
When a file with the ‘s’ attribute set is deleted, its blocks are
zeroed and written back to the disk. Note: please make sure to read
the bugs and limitations section at the end of this document.
...
BUGS AND LIMITATIONS
The ‘c’, ’s’, and ‘u’ attributes are not honored by the ext2
and ext3 filesystems as implemented in the current mainline Linux
kernels. These attributes may be implemented in future versions of
the ext2 and ext3 filesystems.
Eu não sei quais versões específicas do kernel da linha principal (se houver) implementam isso.