bug-tar
[Top][All Lists]
Advanced

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

Re: [Bug-tar] listed-incremental broken in 1.25 on Solaris 10


From: Paul Eggert
Subject: Re: [Bug-tar] listed-incremental broken in 1.25 on Solaris 10
Date: Wed, 02 Feb 2011 11:28:07 -0800
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101208 Thunderbird/3.1.7

On 02/01/11 23:28, Markus Duft wrote:
> i don't think it's "only" a bug in the filesystem

Yes, most likely it isn't "just" a bug in the file system.
tar has changed the way that it sets file time stamps,
in order to avoid certain security holes.  It now sets
the before closing the file rather than after.  Most
likely your file system is buggy, and 'close' is mistakenly
changing the file's time stamp to the wrong value.

We can't simply revert the change in tar, because
that would reintroduce the security holes.  However, perhaps
there is a way to work around the problem on buggy file systems.

One possibility is to invoke fsync(fd) just before close(fd).
Perhaps you can try that, on your buggy system, to see if
that works around the problem.  For performance reasons,
we'd only want to do fsync on buggy file systems, but the
first step is to see whether fsync works around the bug
at all.



reply via email to

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