From: Junio C Hamano <gitster@pobox.com>
To: Jeff King <peff@peff.net>
Cc: Alex Riesen <raa.lkml@gmail.com>,
git@vger.kernel.org, Daniel Barkalow <barkalow@iabervon.org>
Subject: Re: [PATCH] Restore umasks influence on the permissions of work tree created by clone
Date: Mon, 09 Jul 2012 16:18:13 -0700 [thread overview]
Message-ID: <7vwr2cikwa.fsf@alter.siamese.dyndns.org> (raw)
In-Reply-To: <7v1ukkjzyz.fsf@alter.siamese.dyndns.org> (Junio C. Hamano's message of "Mon, 09 Jul 2012 16:07:16 -0700")
Junio C Hamano <gitster@pobox.com> writes:
> Jeff King <peff@peff.net> writes:
>
>> Does the mkdir of "rr-cache/*" in rerere.c make the same mistake? The
>> rr-cache root is made with 0777, and the files inside each subdirectory
>> are created with 0666. So it is the only thing preventing users of
>> shared repos from using rerere.
>
> Quite possibly yes. I do not recall tightening permissions on
> purpose, and it was a long time ago ;-)
Yup, that's the last remaining "mkdir(.*, 755)" in the codebase, and
it should be trivial to replace it with mkdir_in_gitdir() or
something.
next prev parent reply other threads:[~2012-07-09 23:18 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-06 19:27 git-clone ignores umask for working tree Alex Riesen
2012-07-06 21:20 ` Daniel Barkalow
2012-07-07 21:50 ` [PATCH] Restore umasks influence on the permissions of work tree created by clone Alex Riesen
2012-07-09 1:41 ` Junio C Hamano
2012-07-09 18:21 ` Alex Riesen
2012-07-09 22:58 ` Jeff King
2012-07-09 23:07 ` Junio C Hamano
2012-07-09 23:18 ` Junio C Hamano [this message]
2012-07-09 23:28 ` [PATCH] rerere: make rr-cache fanout directory honor umask Junio C Hamano
2012-07-10 6:37 ` Jeff King
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=7vwr2cikwa.fsf@alter.siamese.dyndns.org \
--to=gitster@pobox.com \
--cc=barkalow@iabervon.org \
--cc=git@vger.kernel.org \
--cc=peff@peff.net \
--cc=raa.lkml@gmail.com \
/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;
as well as URLs for NNTP newsgroup(s).