[Bug 733368] New: tar --sparse corrupts ASCII files and turns them into binary format with all bits set to zero
https://bugzilla.novell.com/show_bug.cgi?id=733368 https://bugzilla.novell.com/show_bug.cgi?id=733368#c0 Summary: tar --sparse corrupts ASCII files and turns them into binary format with all bits set to zero Classification: openSUSE Product: openSUSE 12.1 Version: Final Platform: x86-64 OS/Version: SuSE Other Status: NEW Severity: Major Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: hubba@unixcook.com QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:8.0) Gecko/20100101 Firefox/8.0 On an opensuse 12.1 system with / as btrfs run the follwing command to backup /etc to /test.tar: tar --sparse --block-number --totals --verbose --no-wildcards-match-slash --one-file-system --ignore-failed-read --gzip -C /etc -c -f /test.tar /etc Restore these contents into a seperate directory. Do a file /etc/* and take a note of the files that come up as ASCII Now do the same for all of them in the seperate restored place and you will find that some have turned into data. If you view these files in a HEX viewer all the bits have been turned to 0 This behaviour breaks ReaR - see discussion at http://sourceforge.net/mailarchive/forum.php?thread_name=20111129160934.M17306%40unixcook.com&forum_name=rear-users Reproducible: Always Steps to Reproduce: See in details above. Actual Results: Files became corrupted Expected Results: files should be same as before. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=733368
https://bugzilla.novell.com/show_bug.cgi?id=733368#c1
--- Comment #1 from Hubertus Haniel
https://bugzilla.novell.com/show_bug.cgi?id=733368
https://bugzilla.novell.com/show_bug.cgi?id=733368#c
Johannes Meixner
https://bugzilla.novell.com/show_bug.cgi?id=733368
https://bugzilla.novell.com/show_bug.cgi?id=733368#c15
Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=733368
https://bugzilla.novell.com/show_bug.cgi?id=733368#c16
Johannes Meixner
https://bugzilla.novell.com/show_bug.cgi?id=733368
https://bugzilla.novell.com/show_bug.cgi?id=733368#c17
--- Comment #17 from Hubertus Haniel
https://bugzilla.novell.com/show_bug.cgi?id=733368
https://bugzilla.novell.com/show_bug.cgi?id=733368#c18
David Sterba
https://bugzilla.novell.com/show_bug.cgi?id=733368
https://bugzilla.novell.com/show_bug.cgi?id=733368#c19
Jeff Mahoney
participants (1)
-
bugzilla_noreply@novell.com