I found yet another instance in which tar fails when it can't "stat" a file even though --ignore-failed-read is specified. The problem is a reversed "if" statement in src/create.c. A patch: --- src/create.c~ Sun Jan 16 11:14:07 2000 +++ src/create.c Mon Jan 17 08:36:10 2000 @@ -963,9 +963,9 @@ if (deref_stat (dereference_option, p, ¤t_stat) != 0) { if (ignore_failed_read_option) - stat_error (p); - else stat_warn (p); + else + stat_error (p); return; }
Fixed in 1.3.17