Bug 394500, fix permissions on the *_info.txt buildID files, r=rhelmer

This commit is contained in:
nrthomas@gmail.com 2007-09-06 11:56:52 -07:00
parent 11f20b9e9c
commit 9c1ca32712

View File

@ -217,11 +217,12 @@ sub StoreBuildID() {
print $bh 'buildID=' . $buildID;
$bh->close() ||
die("Could not open buildID temp file $buildIDTempFile: $!");
chmod(0644, $buildIDTempFile);
my $buildIDFile = $osFileMatch . '_info.txt';
$this->Shell(
cmd => 'scp',
cmdArgs => [$buildIDTempFile,
cmdArgs => ['-p', $buildIDTempFile,
$stagingUser . '@' . $stagingServer . ':' .
$pushDir . '/' . $buildIDFile],
logFile => $pushLog,