Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCH] Restore umasks influence on the permissions of work tree created by clone

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:54:14

Junio C Hamano [off-list ref] writes:
Jeff King [off-list ref] writes:
quoted
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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help