[systemd-devel] kernel-install questions
Kay Sievers
kay at vrfy.org
Wed Sep 25 13:36:07 PDT 2013
On Wed, Sep 25, 2013 at 9:50 PM, Colin Guthrie <gmane at colin.guthr.ie> wrote:
> [root at jimmy ~]# cp --preserve /etc/hostname /boot; echo $?
> 0
> [root at 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.
Ah, I see. Makes sense.
Not sure what's the best behaviour here, maybe we should just make
everything 0600 root:root by default?
People with weird assumptions can probably just plug-in their own
snippet and post-process the stuff as they need.
Kay
More information about the systemd-devel
mailing list