1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-11 01:22:54 +00:00

Ignore chmod failures, fixes #1854

This commit is contained in:
Jordi Boggiano 2013-09-26 12:49:50 +02:00
parent 46e82cb38d
commit 05ffc605f1
5 changed files with 8 additions and 8 deletions

View file

@ -117,7 +117,7 @@ EOT
if ($input->getOption('global') && !$this->configFile->exists()) {
touch($this->configFile->getPath());
$this->configFile->write(array('config' => new \ArrayObject));
chmod($this->configFile->getPath(), 0600);
@chmod($this->configFile->getPath(), 0600);
}
if (!$this->configFile->exists()) {