git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git-clone ignores umask for working tree
@ 2012-07-06 19:27 Alex Riesen
  2012-07-06 21:20 ` Daniel Barkalow
  0 siblings, 1 reply; 10+ messages in thread
From: Alex Riesen @ 2012-07-06 19:27 UTC (permalink / raw)
  To: Git Mailing List; +Cc: Junio C Hamano, Daniel Barkalow

Hi list,

when git-clone was built in, its treatment of umask has changed: the shell
version respected umask for newly created directories by using plain mkdir(1),
and the builtin version just uses mkdir(work_tree, 0755).

Is it intentional?

This Stackoverflow question is what got me interested:

http://stackoverflow.com/questions/10637416/git-clone-respects-umask-except-for-top-level-project-directory

and might provide a credible use case.

Regards,
Alex

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2012-07-10  6:37 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2012-07-09 23:28             ` [PATCH] rerere: make rr-cache fanout directory honor umask Junio C Hamano
2012-07-10  6:37               ` Jeff King

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).