From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mediacenter.hi.pengutronix.de ([2001:6f8:1178:2::65]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1Rv5Bn-0003Aj-F9 for ptxdist@pengutronix.de; Wed, 08 Feb 2012 11:55:51 +0100 Received: from mol by mediacenter.hi.pengutronix.de with local (Exim 4.72) (envelope-from ) id 1Rv5Bn-0004VT-E1 for ptxdist@pengutronix.de; Wed, 08 Feb 2012 11:55:51 +0100 Date: Wed, 8 Feb 2012 11:55:51 +0100 From: Michael Olbrich Message-ID: <20120208105551.GQ32645@pengutronix.de> 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> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <4F324725.1040606@corscience.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 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. Michael -- = Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | -- = ptxdist mailing list ptxdist@pengutronix.de