Re: [PATCH] git-receive-pack needs to set umask(2)

From: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Date: 2006-05-30 07:50:35
Hi,

On Mon, 29 May 2006, Alex Riesen wrote:

> [...]
> Reading man sshd:
> 
>      $HOME/.ssh/rc
>              If this file exists, it is run with /bin/sh after reading the
>              environment files but before starting the user's shell or com­
>              mand.  It must not produce any output on stdout; stderr must be
>              used instead.  If X11 forwarding is in use, it will receive the
>              "proto cookie" pair in its standard input (and DISPLAY in its
>              environment).  The script must call xauth(1) because sshd will
>              not run xauth automatically to add X11 cookies.
> and
> 
>      /etc/ssh/sshrc
>              Like $HOME/.ssh/rc.  This can be used to specify machine-specific
>              login-time initializations globally.  This file should be
>              writable only by root, and should be world-readable.
> 
> 
> This guaranteed to work (at least for ssh).

But not for bash. Back to square 1.

Ciao,
Dscho

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Tue May 30 07:51:15 2006

This archive was generated by hypermail 2.1.8 : 2006-05-30 07:51:35 EST