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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 28507 in the body.
You can then email your comments to 28507 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-coreutils <at> gnu.org:
bug#28507; Package coreutils. (Mon, 18 Sep 2017 23:17:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to pengu1n <pengu1n <at> protonmail.com>:
New bug report received and forwarded. Copy sent to bug-coreutils <at> gnu.org. (Mon, 18 Sep 2017 23:17:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

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 1 (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 2 (text/html, inline)]

Reply sent to Pádraig Brady <P <at> draigBrady.com>:
You have taken responsibility. (Wed, 20 Sep 2017 04:04:02 GMT) Full text and rfc822 format available.

Notification sent to pengu1n <pengu1n <at> protonmail.com>:
bug acknowledged by developer. (Wed, 20 Sep 2017 04:04:03 GMT) Full text and rfc822 format available.

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)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 18 Oct 2017 11:24:03 GMT) Full text and rfc822 format available.

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.