зеркало из https://github.com/mozilla/pjs.git
Fixed a security hole: .cvspass was in the webtree, and thus readable via the server.
This commit is contained in:
Родитель
7c18507bc5
Коммит
c1fae03af7
|
@ -30,6 +30,12 @@ $perlbin = "/tools/ns/bin/perl5.004";
|
||||||
#$whoami = "/usr/bin/whoami";
|
#$whoami = "/usr/bin/whoami";
|
||||||
#$perlbin = "/usr/bin/perl";
|
#$perlbin = "/usr/bin/perl";
|
||||||
|
|
||||||
|
#$curdir = `pwd`;
|
||||||
|
#chop($curdir);
|
||||||
|
#$ENV{"CVS_PASSFILE"} = "$curdir/.cvspass";
|
||||||
|
|
||||||
|
$ENV{"CVS_PASSFILE"} = "/usr/local/etc/despot-cvspass";
|
||||||
|
|
||||||
$dontcommit = 0;
|
$dontcommit = 0;
|
||||||
$usertoblame = "";
|
$usertoblame = "";
|
||||||
|
|
||||||
|
@ -70,10 +76,6 @@ if (open(HOST, "/bin/hostname|")) {
|
||||||
|
|
||||||
$ENV{"HOME"} = glob("~$mylogin"); # CVS wants this.
|
$ENV{"HOME"} = glob("~$mylogin"); # CVS wants this.
|
||||||
|
|
||||||
$curdir = `pwd`;
|
|
||||||
chop($curdir);
|
|
||||||
$ENV{"CVS_PASSFILE"} = "$curdir/.cvspass";
|
|
||||||
|
|
||||||
if ($usertoblame eq "") {
|
if ($usertoblame eq "") {
|
||||||
$usertoblame = $mylogin;
|
$usertoblame = $mylogin;
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче