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: Pádraig Brady <P <at> draigBrady.com>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#28507: closed (shred 8.28 renames files only once)
Date: Wed, 20 Sep 2017 04:04:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Tue, 19 Sep 2017 21:02:59 -0700
with message-id <5588680b-dc3c-8f1d-840e-84256e53ea74 <at> draigBrady.com>
and subject line Re: bug#28507: shred 8.28 renames files only once
has caused the debbugs.gnu.org bug report #28507,
regarding shred 8.28 renames files only once
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> 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: 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 3 (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 4 (text/html, inline)]
[Message part 5 (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 6 (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.