Bug#1030638: cp -a fails to preserve ownership information on 32-bit arches

2023-03-01 Thread Shengjing Zhu
Control: tags -1 + patch On Wed, Mar 1, 2023 at 3:10 PM Shengjing Zhu wrote: > I realized there probably was no need for runtime detection after some > discussion with others. > > After all, it has already dispatched the right _time64 function. But > on i386, the only case to use _time64

Processed: Re: Bug#1030638: cp -a fails to preserve ownership information on 32-bit arches

2023-03-01 Thread Debian Bug Tracking System
Processing control commands: > tags -1 + patch Bug #1030638 [fakeroot] cp -a fails to preserve ownership information on 32-bit arches Added tag(s) patch. -- 1030638: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1030638 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems

Bug#1030638: cp -a fails to preserve ownership information on 32-bit arches

2023-02-28 Thread Shengjing Zhu
On Wed, Mar 1, 2023 at 3:00 PM Johannes Schauer Marin Rodrigues wrote: > > Hi Shengjing, > > Quoting Shengjing Zhu (2023-03-01 06:40:38) > > I've debugged it as well and here is my write up. Though I don't have > > solution yet. > > you don't have a *good* solution yet but I think you are

Bug#1030638: cp -a fails to preserve ownership information on 32-bit arches

2023-02-28 Thread Johannes Schauer Marin Rodrigues
Hi Shengjing, Quoting Shengjing Zhu (2023-03-01 06:40:38) > I've debugged it as well and here is my write up. Though I don't have > solution yet. you don't have a *good* solution yet but I think you are extremely close! Thank you so much for spending all the time debugging this *and* for this

Bug#1030638: cp -a fails to preserve ownership information on 32-bit arches

2023-02-28 Thread Shengjing Zhu
X-Debbugs-Cc: z...@debian.org, cl...@debian.org, jo...@debian.org Hi, I've debugged it as well and here is my write up. Though I don't have solution yet. I use an i386 VM for testing and following code to simplify my test. ```c int main() { struct stat buf; int r; r = fstatat(AT_FDCWD,

Bug#1030638: cp -a fails to preserve ownership information on 32-bit arches

2023-02-26 Thread James Addison
Package: fakeroot Followup-For: Bug #1030638 Hi josch, Are you able to confirm whether the repro environment(s) for this bugreport used emulated and/or native (non-emulated) 32-bit systems? To explain my question: a qemu bug[1] that I was reading about a while ago highlights that there are some

Bug#1030638: cp -a fails to preserve ownership information on 32-bit arches

2023-02-06 Thread Johannes Schauer Marin Rodrigues
Hi, Quoting Johannes Schauer Marin Rodrigues (2023-02-06 00:47:35) > since glibc 2.34 and coreutils 9.1, fakeroot fails to preserve ownership > information when running "cp -a" on a file owned by a user other than > root. On armel, armhf and i386 (our 32 bit arches), you can reproduce > this

Bug#1030638: cp -a fails to preserve ownership information on 32-bit arches

2023-02-05 Thread Johannes Schauer Marin Rodrigues
Package: fakeroot Version: 1.30.1-1.1 Severity: grave Control: affects -1 + mmdebstrap Hi, since glibc 2.34 and coreutils 9.1, fakeroot fails to preserve ownership information when running "cp -a" on a file owned by a user other than root. On armel, armhf and i386 (our 32 bit arches), you can