'Twas brillig, and Marc-Antoine Perennou at 25/09/13 16:26 did gyre and gimble: > On 26 September 2013 00:20, Tom Gundersen <t...@jklm.no> wrote: >> On Wed, Sep 25, 2013 at 4:37 PM, Kay Sievers <k...@vrfy.org> wrote: >>> On Wed, Sep 25, 2013 at 3:35 PM, Tom Gundersen <t...@jklm.no> wrote: >>>> *) With /boot on fat, 'add' fails for me due to not being able to use >>>> "cp --preserve". How is this meant to work (or was it just not tested >>>> on fat)? Dropping "--preserve" makes it work for me. >>> >>> Hmm, no problems here: >>> # cp --preserve /etc/hostname /boot; echo $? >>> 0 >>> >>> # rpm -q coreutils >>> coreutils-8.21-11.fc19.x86_64 >> >> Hm, interesting. I'll figure out what's going wrong here. >> > > > FYI, here it fails with my kernel compiled as standards user and > kernel-install ran as root. > If I first copy the ekrnel as root and then kernel-install my > root-owned copy, it works.
Yup, same here: [root@jimmy ~]# cp --preserve /etc/hostname /boot; echo $? 0 [root@jimmy ~]# cp --preserve /home/colin/.bashrc /boot/test; echo $? cp: failed to preserve ownership for ‘/boot/test’: Operation not permitted 1 So it only works if the source file is already owned by root. (coreutils 8.21 also) Col -- Colin Guthrie gmane(at)colin.guthr.ie http://colin.guthr.ie/ Day Job: Tribalogic Limited http://www.tribalogic.net/ Open Source: Mageia Contributor http://www.mageia.org/ PulseAudio Hacker http://www.pulseaudio.org/ Trac Hacker http://trac.edgewall.org/ _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel