On Thursday 2013-09-26 01:18, Mantas Mikulėnas wrote: >> -cp --preserve "$KERNEL_IMAGE" "$BOOT_DIR_ABS/linux" || { >> +cp "$KERNEL_IMAGE" "$BOOT_DIR_ABS/linux" && >> + chown root:root "$BOOT_DIR_ABS/linux" && >> + chmod 0600 "$BOOT_DIR_ABS/linux" || { > >How about `install -m 0600 -o root -g root`?
Then you ought to use `install -m 0600`, presuming that the user running the install command is running with euid=root,egid=root. _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel