From: Linus Torvalds Date: Sat, 10 Jun 2006 04:08:30 GMT Subject: Re: [PATCH] shared repository settings enhancement. Message-ID: In-Reply-To: <7v8xo5lleo.fsf@assigned-by-dhcp.cox.net> On Fri, 9 Jun 2006, Junio C Hamano wrote: > > Having said that, I do not think the distinction is that > important; I would rather make the core.sharedrepository = true > to mean an equivalent of "chmod go+rX" (it does "chmod g+rX" > currently). How about making it be [core] sharedrepository = {umask | user | group | everybody} and allow the old boolean expression syntax to mean "0/false means umask, 1/true means group". So you'd have: - umask/0/false means "use 0777 permissions with default umask" - user means "use 0500 permissions" - group means "use 0550 permissions" - everybody means "use 0555 permissions" (where "5" is r-x, and only for directories, and obviously degenerates to just "4" aka r-- for regular files). That sounds really pretty self-explanatory and obvious, wouldn't you say? Linus