GNU bug report logs - #28507
shred 8.28 renames files only once

Previous Next

Package: coreutils;

Reported by: pengu1n <pengu1n <at> protonmail.com>

Date: Mon, 18 Sep 2017 23:17:02 UTC

Severity: normal

Done: Pádraig Brady <P <at> draigBrady.com>

Bug is archived. No further changes may be made.

Full log


Message #10 received at 28507-done <at> debbugs.gnu.org (full text, mbox):

From: Pádraig Brady <P <at> draigBrady.com>
To: pengu1n <pengu1n <at> protonmail.com>, 28507-done <at> debbugs.gnu.org
Subject: Re: bug#28507: shred 8.28 renames files only once
Date: Tue, 19 Sep 2017 21:02:59 -0700
[Message part 1 (text/plain, inline)]
On 18/09/17 16:02, pengu1n wrote:
> Hello.
> 
> [coreutils 8.27]
> 
> $ touch test
> $ shred -vu test
> 
> shred: test: removing
> shred: test: renamed to 0000
> shred: 0000: renamed to 000
> shred: 000: renamed to 00
> shred: 00: renamed to 0
> shred: test: removed
> 
> [coreutils 8.28]
> 
> $ touch test
> $ shred -vu test
> 
> shred: test: removing
> shred: test: renamed to 0000
> shred: test: removed
> 
> Is it a bug or is it an intentional change? Has commit 2ae1460dad89a791ebf770f74217596b6642cead something to do with this?

Drats that's a bug.
The attached should fix it.

Marking this as done.

thanks!
Pádraig

[shred-length-obfuscate.patch (text/x-patch, attachment)]

This bug report was last modified 7 years and 304 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.