Re: [PATCH] Add two core.sharedRepository options: group-readable and world-readable
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Apr 12, 2008, 04:48 UTC
- Message-ID
- <7vzlrzlluj.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <20080412030021.GB31039@zakalwe.fi>
Heikki Orsila <shdl@zakalwe.fi> writes:
Show 6 quoted lines
> On Fri, Apr 11, 2008 at 05:53:36PM -0700, Junio C Hamano wrote: > ... >> For example, you may want to enforce "ug+rw,o=" in a repository. How >> would you do that? > > Isn't that PERM_GROUP? The user always keeps u+rw for oneself.
My question was about the "o=" part. I did not see you dropping bits for others in your patch.
And if your answer is "the user should have xx7 umask", that defeats the whole point of your patch, as you are trying to dissociate the umask used by the user for his usual task and enforce particular permission policy for the repository.