From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f47.google.com ([74.125.82.47]:41603 "EHLO mail-wm0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751204AbdL3Psf (ORCPT ); Sat, 30 Dec 2017 10:48:35 -0500 Received: by mail-wm0-f47.google.com with SMTP id g75so52560728wme.0 for ; Sat, 30 Dec 2017 07:48:35 -0800 (PST) Subject: Re: Linux 4.14.10 To: Greg KH Cc: stable@vger.kernel.org References: <20171229171043.GA8641@kroah.com> <20171229173254.GA12289@kroah.com> <87f3bf20-b504-9b32-460b-60c065b91f64@gmail.com> <20171229174241.GA13617@kroah.com> From: =?UTF-8?Q?Fran=c3=a7ois_Valenduc?= Message-ID: Date: Sat, 30 Dec 2017 16:48:32 +0100 MIME-Version: 1.0 In-Reply-To: <20171229174241.GA13617@kroah.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Content-Language: en-US Sender: stable-owner@vger.kernel.org List-ID: Le 29/12/17 à 18:42, Greg KH a écrit : > On Fri, Dec 29, 2017 at 06:38:15PM +0100, François Valenduc wrote: >> Le 29/12/17 à 18:32, Greg KH a écrit : >>> On Fri, Dec 29, 2017 at 06:18:18PM +0100, François Valenduc wrote: >>>> No solution found to the permissions on tools/objtool/sync-check.sh ? >>> Is the permission not correct in the repo? Is it not correct in the >>> patch I sent out in response to this? >>> >>>> git or patch is not smart enough for that ? It's obviously extremely >>>> easy to solve the problem, but I find that rather strange. >>> git and patch handle it just fine, quilt has issues, which I worked >>> around very easily. Are you having problems with the git tree as-is? >>> >>> thanks, >>> >>> greg k-h >> It seems I messed up with enigmail. So in case you couldn't read my >> reply, I send it again. >> >> I didn't see the posts of Toralf Forster before replying to your >> annoucement. But my problem is exactly the same. I extracted the patch >> from git (with git diff v4.14.9..v4.14.10). The permissions are also >> wrong if I download the patch from kernel.org. In both cases, >> sync-check.sh is not executable. > That's fine, but when you apply the patch, you need to keep the file > mode. So be careful as to how you apply it. > > I just got told that there's a patch in Andrew's tree that fixes this > (it doesn't rely on the mode of the file.) Hopefully it gets into > Linus's tree soon and then I can queue it up into the stable tree to > help people who don't only use git. > > thanks, > > greg k-h I tried like this: git diff v4.14.9..v4.14.10 | (cd /usr/src/linux-4.14 && patch -p1 ) or xzcat .../patch-4.14.9-10.xz | patch -p1 As I said, in both cases, sync-check.sh is not executable. But if I do git archive --prefix=linux-4.14/ | (cd ../ && tar xvfp - ), sync-script.sh is executable. Would there be something wrong with the patch command ? Regards, François Valenduc