mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: "Andreas Bießmann" <biessmann@corscience.de>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] [PATCH] configure: add GNU mkdir check
Date: Wed, 08 Feb 2012 12:44:41 +0100	[thread overview]
Message-ID: <4F326029.1050504@corscience.de> (raw)
In-Reply-To: <20120208105551.GQ32645@pengutronix.de>

Hi,

On 08.02.2012 11:55, Michael Olbrich wrote:
> On Wed, Feb 08, 2012 at 10:57:57AM +0100, Andreas Bießmann wrote:
>> On 08.02.2012 10:40, Michael Olbrich wrote:
>>> On Wed, Feb 08, 2012 at 08:56:30AM +0100, Andreas Bießmann wrote:
>>>> Hi again ...
>>>>
>>>> On 08.02.12 08:40, Andreas Bießmann wrote:
>>>>> Hi Michael,
>>>>>
>>>>> On 08.02.12 08:05, Michael Olbrich wrote:
>>>>>> On Tue, Feb 07, 2012 at 11:40:37PM +0100, Andreas Bießmann wrote:
>>
>> <snip>
>>
>>>> I guess the problem is directories on the way (= '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?
> 
> I've pushed a patch. Please verify it works.

I can confirm the 'install -m755' approach works

regards

Andreas Bießmann

-- 
ptxdist mailing list
ptxdist@pengutronix.de

      reply	other threads:[~2012-02-08 11:44 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-07 22:40 Andreas Bießmann
2012-02-08  7:05 ` Michael Olbrich
2012-02-08  7:40   ` Andreas Bießmann
2012-02-08  7:56     ` Andreas Bießmann
2012-02-08  9:40       ` Michael Olbrich
2012-02-08  9:57         ` Andreas Bießmann
2012-02-08 10:55           ` Michael Olbrich
2012-02-08 11:44             ` Andreas Bießmann [this message]

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=4F326029.1050504@corscience.de \
    --to=biessmann@corscience.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