author | Junio C Hamano <junkio@cox.net> | |
Sat, 10 Jun 2006 06:09:49 +0000 (23:09 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sat, 10 Jun 2006 08:31:31 +0000 (01:31 -0700) | ||
commit | 94df2506edd76a886a1044376f8c99349b2f226e | |
tree | 08bd44a53885e963bc6e7915c2e8c95df6db7d37 | tree | snapshot |
parent | 5e3a620cd5f7baaf27198192a614271c6145ec3b | commit | diff |
shared repository: optionally allow reading to "others".
This enhances core.sharedrepository to have additionally
specify that read and exec permissions to be given to others as
well. It is useful when serving a repository via gitweb and
git-daemon that runs as a user outside the project group.
The configuration item can take the following values:
[core]
sharedrepository ; the same as "group"
sharedrepository = true ; ditto
sharedrepository = 1 ; ditto
sharedrepository = group ; allow rwx to group
sharedrepository = all ; allow rwx to group, allow rx to other
sharedrepository = umask ; not shared - use umask
It also extends "git init-db" to take "--shared=all" and friends
from the command line.
Signed-off-by: Junio C Hamano <junkio@cox.net>
This enhances core.sharedrepository to have additionally
specify that read and exec permissions to be given to others as
well. It is useful when serving a repository via gitweb and
git-daemon that runs as a user outside the project group.
The configuration item can take the following values:
[core]
sharedrepository ; the same as "group"
sharedrepository = true ; ditto
sharedrepository = 1 ; ditto
sharedrepository = group ; allow rwx to group
sharedrepository = all ; allow rwx to group, allow rx to other
sharedrepository = umask ; not shared - use umask
It also extends "git init-db" to take "--shared=all" and friends
from the command line.
Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-init-db.c | diff | blob | history | |
cache.h | diff | blob | history | |
environment.c | diff | blob | history | |
path.c | diff | blob | history | |
setup.c | diff | blob | history |