I'm sorry, I misunderstood your last paragraph in my previous email, I
thought you were talking about the small patch I suggested in my
original email:
&& (S_ISCHR (st.st_mode) || S_ISBLK (st.st_mode))
which didn't work, as I said. I didn't see your attached patch.
I'll setup an scenery to reproduce the previous situation and I'll apply
your patch, to see what happens.
I'll keep you informed.
Regards.
On 9/9/23 04:21, Paul Eggert wrote:
Anyway, just for fun I wrote the attached patch. Does it fix the
original problem for you? I have not installed it into Gnulib because I
lack easy access to oddball operating systems that have that particular
chown bug.
--
Jordi Sanfeliu
FIBRANET Network Services Provider
https://www.fibranet.cat