From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] [PATCH] configure: add GNU mkdir check
Date: Wed, 8 Feb 2012 11:55:51 +0100 [thread overview]
Message-ID: <20120208105551.GQ32645@pengutronix.de> (raw)
In-Reply-To: <4F324725.1040606@corscience.de>
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.
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
next prev parent reply other threads:[~2012-02-08 10:55 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 [this message]
2012-02-08 11:44 ` Andreas Bießmann
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=20120208105551.GQ32645@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