[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#28507: shred 8.28 renames files only once
From: |
Pádraig Brady |
Subject: |
bug#28507: shred 8.28 renames files only once |
Date: |
Tue, 19 Sep 2017 21:02:59 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 |
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
Description: Text Data