From: Michal Marek Date: Tue, 24 Nov 2009 15:11:37 +0000 (-0600) Subject: scripts/package: tar-pkg: use tar --owner=root X-Git-Tag: v2.6.33-rc1~37^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=91d161857ce9672bd2a8cd99ff712a67186e2e76;p=pandora-kernel.git scripts/package: tar-pkg: use tar --owner=root Use the --owner= and --group= options to make sure the entries in the built tar file are owned by root. Without this change, a careless sysadmin using the tar-pkg target can easily end up installing a kernel that is writable by the unprivileged user account used to build the kernel. Test that these options are understood before using them so that non-GNU versions of tar can still be used if the operator is appropriately cautious. Signed-off-by: Jonathan Nieder Signed-off-by: Michal Marek --- Reading git-diff-tree failed