bugGNU tar - Bugs: bug #59134, tar --compare doesn't reliably...

 
 

bug #59134: tar --compare doesn't reliably catch file contents differences.

Submitter:  Ben Manifold <benmanifold>
Submitted:  Fri 18 Sep 2020 07:27:53 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Invalid
Privacy:  Public Assigned to:  gray
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 18 Sep 2020 09:05:33 PM UTC, comment #1: 

"Contents differ" is reported when two files have exactly the same: type, mode, ownership, mtime, and size, but their content differs.

When comparing files, only the first difference found is reported, no further checks are being made.

Sergey Poznyakoff <gray>
Group administrator
Fri 18 Sep 2020 07:27:53 PM UTC, original submission:  

It's unclear when we should expect to see "Contents differ" when using tar --compare. I can make all sorts of modifications to values.yaml in the extracted folder, but compare only tells me about size and mod time differences.

What is the actual criteria for "Contents differ" if it isn't a line in some file being added, removed, or altered?

Ben Manifold <benmanifold>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #49813:  tardifftest.zip added by benmanifold (14KiB - application/zip)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by gray (Posted a comment)
  • -email is unavailable- added by benmanifold (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-06-01 gray Open/ClosedOpen Closed
    2020-09-18 gray StatusNone Invalid
        Assigned toNone gray
    2020-09-18 benmanifold Attached File- Added tardifftest.zip, #49813

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code