chmod new file when running self-update

main
Jordi Boggiano 12 years ago
parent fe04dbc1c3
commit a9ccfeb548

@ -53,6 +53,7 @@ EOT
$rfs->copy('getcomposer.org', $remoteFilename, $tempFilename);
try {
chmod($tempFilename, 0755);
// test the phar validity
$phar = new \Phar($tempFilename);
// free the variable to unlock the file

Loading…
Cancel
Save