From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from moutng.kundenserver.de ([212.227.17.10]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1Rv4Hq-0000YT-64 for ptxdist@pengutronix.de; Wed, 08 Feb 2012 10:58:03 +0100 Received: from [192.168.102.103] (azuregos.2og.er.corscience.de [192.168.102.103]) by corscience.de (Postfix) with ESMTP id 777F851EDA for ; Wed, 8 Feb 2012 10:57:56 +0100 (CET) Message-ID: <4F324725.1040606@corscience.de> Date: Wed, 08 Feb 2012 10:57:57 +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> In-Reply-To: <20120208094057.GN32645@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 Michael, 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 created >> 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 we'= re > creating several directory levels with sudo but only change the ownership > 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 umask Ok, so will you provide a proper patch? regards Andreas Bie=DFmann -- = ptxdist mailing list ptxdist@pengutronix.de