From patchwork Fri Oct 29 13:55:50 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: maximilian attems X-Patchwork-Id: 296992 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id oA2AM9Sf023700 for ; Tue, 2 Nov 2010 10:24:29 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751033Ab0KBKY3 (ORCPT ); Tue, 2 Nov 2010 06:24:29 -0400 Received: from vostochny.stro.at ([78.47.22.85]:52718 "EHLO vostochny.stro.at" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750976Ab0KBKY2 (ORCPT ); Tue, 2 Nov 2010 06:24:28 -0400 Received: from stro.at (localhost.localdomain [127.0.0.1]) by vostochny.stro.at (Postfix) with ESMTP id A445BC440; Tue, 2 Nov 2010 10:24:08 +0000 (UTC) Received: by stro.at (Postfix, from userid 1000) id 5C2D42060C; Fri, 29 Oct 2010 15:56:01 +0200 (CEST) From: maximilian attems To: linux-kbuild@vger.kernel.org Cc: Michal Marek , maximilian attems Subject: [PATCH] kbuild, deb-pkg: Fix build with paranoid umask Date: Fri, 29 Oct 2010 15:55:50 +0200 Message-Id: <1288360550-26710-1-git-send-email-max@stro.at> X-Mailer: git-send-email 1.7.2.3 Sender: linux-kbuild-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Tue, 02 Nov 2010 10:24:29 +0000 (UTC) diff --git a/scripts/package/builddeb b/scripts/package/builddeb index 49b74e1..4dfec9a 100644 --- a/scripts/package/builddeb +++ b/scripts/package/builddeb @@ -49,8 +49,10 @@ fi # Setup the directory structure rm -rf "$tmpdir" "$fwdir" -mkdir -p "$tmpdir/DEBIAN" "$tmpdir/lib" "$tmpdir/boot" "$tmpdir/usr/share/doc/$packagename" -mkdir -p "$fwdir/DEBIAN" "$fwdir/lib" "$fwdir/usr/share/doc/$fwpackagename" +mkdir -m 755 -p "$tmpdir/DEBIAN" +mkdir -p "$tmpdir/lib" "$tmpdir/boot" "$tmpdir/usr/share/doc/$packagename" +mkdir -m 755 -p "$fwdir/DEBIAN" +mkdir -p "$fwdir/lib" "$fwdir/usr/share/doc/$fwpackagename" if [ "$ARCH" = "um" ] ; then mkdir -p "$tmpdir/usr/lib/uml/modules/$version" "$tmpdir/usr/bin" fi