Re: Revisiting "file changed as we read it", with a proposed patch

2022-06-03 Thread Piotr P. Stefaniak
On 2022-06-02 17:06:32, Paul Eggert wrote: It sounds like something like this would be a good thing to have. A few thoughts. 1. If the mtime or size changes, doesn't this necessarily mean that ctime changes? In other words, isn't tar's current test for size growing redundant? This test was adde

Re: Revisiting "file changed as we read it", with a proposed patch

2022-06-03 Thread Paul Eggert
On 6/3/22 03:13, Piotr P. Stefaniak wrote: 2. How about a simpler option which basically says: warn only about changes to any of the following: st_mtime, st_uid, st_gid, st_mode, st_size. It's not clear that the extra complexity of a more-complicated option is worth the aggravation. This would

Re: Revisiting "file changed as we read it", with a proposed patch

2022-06-03 Thread Piotr P. Stefaniak
On 2022-06-03 14:19:09, Paul Eggert wrote: On 6/3/22 03:13, Piotr P. Stefaniak wrote: 2. How about a simpler option which basically says: warn only about changes to any of the following: st_mtime, st_uid, st_gid, st_mode, st_size. It's not clear that the extra complexity of a more-complicated o