Re: Git-daemon messing up permissions for gitweb

3 messages, 3 authors, 2016-06-15 · open the first message on its own page

Re: Git-daemon messing up permissions for gitweb

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:42:29

Linus Torvalds [off-list ref] writes:
On Fri, 9 Jun 2006, Post, Mark K wrote:
quoted
Martin is using git over SSH.  I have git-shell in /etc/passwd for his
account.
Ahh. git-shell doesn't read .bashrc or anything like that.
But that should be tweakable by configuring what sshd does for
the user, shouldn't it?  The "LOGIN PROCESS" section from man
sshd(8) seems to talk about $HOME/.ssh/environment, for example.

Re: Git-daemon messing up permissions for gitweb

From: Linus Torvalds <torvalds@osdl.org>
Date: 2016-06-15 22:42:29


On Fri, 9 Jun 2006, Junio C Hamano wrote:
But that should be tweakable by configuring what sshd does for
the user, shouldn't it?  The "LOGIN PROCESS" section from man
sshd(8) seems to talk about $HOME/.ssh/environment, for example.
Yeah. That's probably the right place to set things up.

		Linus

Re: Git-daemon messing up permissions for gitweb

From: Jakub Narebski <hidden>
Date: 2016-06-15 22:42:29

I've put proposed solution in GitWiki:

  http://git.or.cz/gitwiki/GitFaq#git-push-ssh-umask

-- 
Jakub Narebski
Warsaw, Poland
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help