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


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: pengu1n <pengu1n <at> protonmail.com>
Subject: bug#28507: closed (Re: bug#28507: shred 8.28 renames files only once)
Date: Wed, 20 Sep 2017 04:04:03 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#28507: shred 8.28 renames files only once

which was filed against the coreutils package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 28507 <at> debbugs.gnu.org.

-- 
28507: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=28507
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
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 3 (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)]
[Message part 5 (message/rfc822, inline)]
From: pengu1n <pengu1n <at> protonmail.com>
To: "bug-coreutils <at> gnu.org" <bug-coreutils <at> gnu.org>
Subject: shred 8.28 renames files only once
Date: Mon, 18 Sep 2017 19:02:21 -0400
[Message part 6 (text/plain, inline)]
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?

Thank you.
[Message part 7 (text/html, inline)]

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.