From 571dd7c636d9b03eb53eddf8d07c775e4a8f9bb6 Mon Sep 17 00:00:00 2001 From: pasky Date: Tue, 10 Oct 2006 03:00:25 +0200 Subject: [PATCH] Fix missing gid in passwd line --- cgi/Git/RepoCGI.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cgi/Git/RepoCGI.pm b/cgi/Git/RepoCGI.pm index 4d0eda3..6d3d0b6 100644 --- a/cgi/Git/RepoCGI.pm +++ b/cgi/Git/RepoCGI.pm @@ -457,7 +457,7 @@ BEGIN { use Git::RepoCGI; } sub _passwd_add { my $self = shift; filedb_atomic_append(jailed_file('/etc/passwd'), - join(':', $self->{name}, 'x', '\i', $self->{email}, '/', '/bin/git-shell')); + join(':', $self->{name}, 'x', '\i', 65536, $self->{email}, '/', '/bin/git-shell')); } sub _sshkey_path { -- 2.11.4.GIT