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 1Rul0a-0002Ax-Je for ptxdist@pengutronix.de; Tue, 07 Feb 2012 14:22:56 +0100 Received: from mol by mediacenter.hi.pengutronix.de with local (Exim 4.72) (envelope-from ) id 1Rul0a-0006iQ-Il for ptxdist@pengutronix.de; Tue, 07 Feb 2012 14:22:56 +0100 Date: Tue, 7 Feb 2012 14:22:56 +0100 From: Michael Olbrich Message-ID: <20120207132256.GH32645@pengutronix.de> References: <1327570140-3611-1-git-send-email-biessmann@corscience.de> <1328266094-10180-1-git-send-email-biessmann@corscience.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1328266094-10180-1-git-send-email-biessmann@corscience.de> Subject: Re: [ptxdist] [PATCH v2] bin/ptxdist: set umask globally 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 Fri, Feb 03, 2012 at 11:48:14AM +0100, Andreas Bie=DFmann wrote: > Signed-off-by: Andreas Bie=DFmann > --- > Michael, > = > how about this one? Hmmm, I've been playing with this a bit. What error do you get? For me mkdir -m755 overwrites anything set with umask. Michael > regards > = > Andreas > = > bin/ptxdist | 1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > = > diff --git a/bin/ptxdist b/bin/ptxdist > index 74a5a23..a35ef18 100755 > --- a/bin/ptxdist > +++ b/bin/ptxdist > @@ -19,6 +19,7 @@ PTXDIST_COLLECTIONCONFIG_DEFAULT=3D'${PTXDIST_WORKSPACE= }/selected_collectionconfig > PTXDIST_TOOLCHAIN_DEFAULT=3D'${PTXDIST_WORKSPACE}/selected_toolchain' > PTXDIST_PTXRC_DEFAULT=3D${PTXDIST_PTXRC:-'${HOME}/.ptxdist/ptxdistrc-${P= TXDIST_VERSION_PTXRC}'} > = > +umask 0022 > = > # > # menu_select > -- = > 1.7.8.3 > = > = > -- = > ptxdist mailing list > ptxdist@pengutronix.de -- = 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