mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] [PATCH v2] bin/ptxdist: set umask globally
Date: Tue, 7 Feb 2012 14:22:56 +0100	[thread overview]
Message-ID: <20120207132256.GH32645@pengutronix.de> (raw)
In-Reply-To: <1328266094-10180-1-git-send-email-biessmann@corscience.de>

On Fri, Feb 03, 2012 at 11:48:14AM +0100, Andreas Bießmann wrote:
> Signed-off-by: Andreas Bießmann <biessmann@corscience.de>
> ---
> 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='${PTXDIST_WORKSPACE}/selected_collectionconfig
>  PTXDIST_TOOLCHAIN_DEFAULT='${PTXDIST_WORKSPACE}/selected_toolchain'
>  PTXDIST_PTXRC_DEFAULT=${PTXDIST_PTXRC:-'${HOME}/.ptxdist/ptxdistrc-${PTXDIST_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

  reply	other threads:[~2012-02-07 13:22 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-26  9:29 [ptxdist] [PATCH] bin/ptxdist: check_dirs_mkdir() utilize umask Andreas Bießmann
2012-01-26 15:18 ` Michael Olbrich
2012-01-26 16:08   ` Andreas Bießmann
2012-02-03 10:48 ` [ptxdist] [PATCH v2] bin/ptxdist: set umask globally Andreas Bießmann
2012-02-07 13:22   ` Michael Olbrich [this message]
2012-02-07 13:36     ` Michael Olbrich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120207132256.GH32645@pengutronix.de \
    --to=m.olbrich@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox