[Bugs] [Bug 1058526] tar keeps reporting "file changed as we read it" on random files

bugzilla at redhat.com bugzilla at redhat.com
Thu Jul 16 02:43:36 UTC 2015


Krutika Dhananjay <kdhananj at redhat.com> changed:

           What    |Removed                     |Added
                 CC|                            |kdhananj at redhat.com

--- Comment #17 from Krutika Dhananjay <kdhananj at redhat.com> ---
(In reply to Mark O'Keefe from comment #15)
> I'm also seeing this same behaviour running a Cygwin environment on a
> Windows 8.1 server.
> My suspicion is that it has to do with virus and on-access scanners.
> The "Change" attribute is changing by a little less than 3 seconds between
> creation and subsequent tar operations.  The creation is via a copy from one
> location to another.
> Is it possible to just ignore this attribute and not fail?  This is killing
> build pipelines unreasonably :-(
> Looking forward to a fix as there is no real workaround for this.


As a workaround, have you tried invoking tar with the
"--warning=no-file-changed" option? According to the man page of tar, using
this option should suppress warnings of this nature.

You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=8k960iIXcA&a=cc_unsubscribe

More information about the Bugs mailing list