From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from moutng.kundenserver.de ([212.227.17.8]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1Rv5x8-0005R2-0e for ptxdist@pengutronix.de; Wed, 08 Feb 2012 12:44:47 +0100 Received: from [192.168.102.103] (azuregos.2og.er.corscience.de [192.168.102.103]) by corscience.de (Postfix) with ESMTP id 23C7351EDA for ; Wed, 8 Feb 2012 12:44:40 +0100 (CET) Message-ID: <4F326029.1050504@corscience.de> Date: Wed, 08 Feb 2012 12:44:41 +0100 From: =?ISO-8859-1?Q?Andreas_Bie=DFmann?= MIME-Version: 1.0 References: <1328654437-18702-1-git-send-email-andreas@biessmann.de> <20120208070503.GM32645@pengutronix.de> <4F3226F4.2020906@biessmann.de> <4F322AAE.6090800@biessmann.de> <20120208094057.GN32645@pengutronix.de> <4F324725.1040606@corscience.de> <20120208105551.GQ32645@pengutronix.de> In-Reply-To: <20120208105551.GQ32645@pengutronix.de> Subject: Re: [ptxdist] [PATCH] configure: add GNU mkdir check Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de Hi, On 08.02.2012 11:55, Michael Olbrich wrote: > On Wed, Feb 08, 2012 at 10:57:57AM +0100, Andreas Bie=DFmann wrote: >> On 08.02.2012 10:40, Michael Olbrich wrote: >>> On Wed, Feb 08, 2012 at 08:56:30AM +0100, Andreas Bie=DFmann wrote: >>>> Hi again ... >>>> >>>> On 08.02.12 08:40, Andreas Bie=DFmann wrote: >>>>> Hi Michael, >>>>> >>>>> On 08.02.12 08:05, Michael Olbrich wrote: >>>>>> On Tue, Feb 07, 2012 at 11:40:37PM +0100, Andreas Bie=DFmann wrote: >> >> >> >>>> I guess the problem is directories on the way (=3D 'parents') are crea= ted >>>> with default credentials -> umask has an effect. But the last directory >>>> in path is set to given parameters (-m755). >>>> >>>> Can you reproduce this too? >>> >>> Yes, I can. The problem is not actually the umask, but the fact, that w= e're >>> creating several directory levels with sudo but only change the ownersh= ip >>> of the last one. >>> I think we should use 'install -m0755 -d ${dir}' instead. That sets the >>> correct permissions for the parent directories without messing with uma= sk >> >> Ok, so will you provide a proper patch? > = > I've pushed a patch. Please verify it works. I can confirm the 'install -m755' approach works regards Andreas Bie=DFmann -- = ptxdist mailing list ptxdist@pengutronix.de