[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-tar] Bogus 'file changed as we read it'
From: |
Gerd Knops |
Subject: |
[Bug-tar] Bogus 'file changed as we read it' |
Date: |
Wed, 3 Mar 2004 18:07:34 -0600 |
Hi,
tar 1.13 used to compare mtime and size of files to determine if they
changed during creation of an archive. Sometime later this was modified
to check for ctime changes. I think this is not a good idea. It is
perfectly OK to make a hardlink while tar executes, but that changes
the ctime and hence triggers the 'file changed as we read it' error
message.
This is in create.c, subroutine
void
dump_regular_finish (int fd, struct tar_stat_info *st, time_t
original_ctime)
I think the old behavior should be restored.
Gerd
- [Bug-tar] Bogus 'file changed as we read it',
Gerd Knops <=