bug-tar
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-tar] Apply ignore-failed-read to "file changed as we read it" case


From: Stefanos Harhalakis
Subject: [Bug-tar] Apply ignore-failed-read to "file changed as we read it" case
Date: Tue, 5 Jan 2016 15:54:57 +0000

Hi there,

Can you consider the attached patch?

This will apply the --ignore-failed-read flag to the case where a file
was changed as we read it, thus preventing tar from exiting with a
failure.

Right now this:

/bin/tar: ./log/apache2/xxx/access.log: file changed as we read it
/bin/tar: ./log/apache2/xxx/error.log: file changed as we read it

will result in an error state even if --ignore-failed-read is used,
which I believe is not intentional.

Thanks,
Stefanos

Attachment: tar-ignore-failed-read.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]