From: Ian Campbell Subject: Re: [PATCH 03/46] install.sh: Preserve permissions from make install Date: Mon, 22 Sep 2014 16:54:17 +0100 Message-ID: <1411401257.26552.18.camel@kazak.uk.xensource.com> References: <1411390835-7348-1-git-send-email-olaf@aepfle.de> <1411390835-7348-4-git-send-email-olaf@aepfle.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1411390835-7348-4-git-send-email-olaf@aepfle.de> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Olaf Hering Cc: Keir Fraser , David Scott , Stefano Stabellini , George Dunlap , Tim Deegan , Ian Jackson , xen-devel@lists.xen.org, Jan Beulich , Samuel Thibault List-Id: xen-devel@lists.xenproject.org On Mon, 2014-09-22 at 14:59 +0200, Olaf Hering wrote: > Signed-off-by: Olaf Hering I wonder what this will break. Only one way to find out: Acked-by: Ian Campbell Although, do you suppose that the tar unpack right above it ought to use -p/--preserve-permissions ? > --- > install.sh | 3 --- > 1 file changed, 3 deletions(-) > > diff --git a/install.sh b/install.sh > index 272123a..3e11c4d 100644 > --- a/install.sh > +++ b/install.sh > @@ -27,9 +27,6 @@ tmp="`mktemp -d`" > echo "Installing Xen from '$src' to '$dst'..." > (cd $src; tar -cf - * ) | tar -C "$tmp" -xf - > > -echo " - modifying permissions" > -chmod -R a+rX "$tmp" > - > (cd $tmp; tar -cf - *) | tar --no-same-owner -C "$dst" -xf - > rm -rf "$tmp" >