git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Linus Torvalds <torvalds@osdl.org>
To: Alex Riesen <raa.lkml@gmail.com>
Cc: "Post, Mark K" <mark.post@eds.com>,
	Junio C Hamano <junkio@cox.net>,
	git@vger.kernel.org
Subject: Re: Git-daemon messing up permissions for gitweb
Date: Sat, 10 Jun 2006 14:41:52 -0700 (PDT)	[thread overview]
Message-ID: <Pine.LNX.4.64.0606101439530.5498@g5.osdl.org> (raw)
In-Reply-To: <20060610213051.GB5825@steel.home>



On Sat, 10 Jun 2006, Alex Riesen wrote:
>
>      ~/.ssh/rc
> 
> AFAIK, it was always there.

Note that since umask is a per-process flag, and only inherited from 
parents to children, not the other way around, if the rc file is run as a 
separate shell script (and I assume it is) instead of "sourced" from the 
the shell that actually executes the programs you run, then this won't 
help at all.

Try:

	sh -c "umask 0777 ; umask" ; umask

to see in more graphic ("textual") detail what I mean.

		Linus

  reply	other threads:[~2006-06-10 21:42 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-09 20:52 Git-daemon messing up permissions for gitweb Post, Mark K
2006-06-09 21:06 ` Junio C Hamano
2006-06-10  0:35   ` [PATCH/RFC] Retire SIMPLE_*** stuff Junio C Hamano
2006-06-10 14:13     ` [PATCH] Built-in git-get-tar-commit-id (was: [PATCH/RFC] Retire SIMPLE_*** stuff.) Rene Scharfe
2006-06-10  0:39   ` [PATCH] shared repository settings enhancement Junio C Hamano
2006-06-10  0:46     ` Linus Torvalds
2006-06-10  1:38       ` Jakub Narebski
2006-06-10  3:49       ` Junio C Hamano
2006-06-10  4:08         ` Linus Torvalds
2006-06-10  4:19           ` Junio C Hamano
2006-06-10  4:39             ` Linus Torvalds
2006-06-10 21:30 ` Git-daemon messing up permissions for gitweb Alex Riesen
2006-06-10 21:41   ` Linus Torvalds [this message]
2006-06-10 22:30     ` Alex Riesen
  -- strict thread matches above, loose matches on Subject: below --
2006-06-09 20:45 Post, Mark K
2006-06-09 20:29 Post, Mark K
2006-06-09 20:08 Post, Mark K
2006-06-09 20:18 ` Junio C Hamano
2006-06-09 20:22 ` Linus Torvalds
2006-06-09 20:34   ` Junio C Hamano
2006-06-09 20:44     ` Linus Torvalds
2006-06-09 21:02       ` Jakub Narebski
2006-06-09 19:11 Post, Mark K
2006-06-09 19:27 ` Jakub Narebski
2006-06-09 18:41 Post, Mark K
2006-06-09 18:58 ` Jakub Narebski
2006-06-09 19:05 ` Linus Torvalds
2006-06-09 20:01   ` Junio C Hamano
2006-06-09 19:51 ` Junio C Hamano

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.64.0606101439530.5498@g5.osdl.org \
    --to=torvalds@osdl.org \
    --cc=git@vger.kernel.org \
    --cc=junkio@cox.net \
    --cc=mark.post@eds.com \
    --cc=raa.lkml@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).