{"thread":{"id":"4447","subject":"RE: Git-daemon messing up permissions for gitweb","startedAt":"2006-06-09T19:11:42Z","lastAt":"2006-06-09T19:27:03Z","messageCount":2,"participants":["Post, Mark K","Jakub Narebski"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"21483","messageId":"5A14AF34CFF8AD44A44891F7C9FF410507957855@usahm236.amer.corp.eds.com","threadId":"4447","inReplyTo":null,"subject":"RE: Git-daemon messing up permissions for gitweb","fromName":"Post, Mark K","fromEmail":"mark.post@eds.com","sentAt":"2006-06-09T19:11:42Z","receivedAt":"2006-06-09T19:11:42Z","isPatch":false,"sender":{"key":"mark.post@eds.com","avatar":null},"body":"I just triple-checked, and both those things are already in place.  The\ndefault umask is 0022, and all the config files have:\n[core]\n        repositoryformatversion = 0\n        filemode = true\n        sharedrepository = true\n\nI see that the case of the value is different from what you typed:\nSharedRepository \nIs that significant (as almost everything is)?\n\n\nMark Post\n\n-----Original Message-----\nFrom: Linus Torvalds [mailto:torvalds@osdl.org] \nSent: Friday, June 09, 2006 3:06 PM\nTo: Post, Mark K\nCc: git@vger.kernel.org\nSubject: Re: Git-daemon messing up permissions for gitweb\n\n\n\nOn Fri, 9 Jun 2006, Post, Mark K wrote:\n>\n> As far as I can tell, the problem is happening because these files are\n> being written out with file permissions of 640, and since Apache is\n> running as user wwwrun, it can't read them:\n\nYou can either make sure that people have something like\n\n\tumask 0022\n\nin their bashrc (or that it's the default umask), so that they do things\n\nworld-readably by default.\n\nOr add\n\t[core]\n\t\tSharedRepository = true\n\nto the repository config file.\n\n\t\tLinus\n"},{"id":"21484","messageId":"e6ci1u$939$1@sea.gmane.org","threadId":"4447","inReplyTo":"5A14AF34CFF8AD44A44891F7C9FF410507957855@usahm236.amer.corp.eds.com","subject":"RE: Git-daemon messing up permissions for gitweb","fromName":"Jakub Narebski","fromEmail":"jnareb@gmail.com","sentAt":"2006-06-09T19:27:03Z","receivedAt":"2006-06-09T19:27:03Z","isPatch":false,"sender":{"key":"jnareb@gmail.com","avatar":"https://avatars.githubusercontent.com/u/2706?v=4"},"body":"Post, Mark K wrote:\n\n> [core]\n>         repositoryformatversion = 0\n>         filemode = true\n>         sharedrepository = true\n> \n> I see that the case of the value is different from what you typed:\n>         SharedRepository = true\n> Is that significant (as almost everything is)?\n\nNo, the keys are case-insensitive.\n\n-- \nJakub Narebski\nWarsaw, Poland\n"}]}