protected function chmodSettings()
    {
        try {
            $this->fs->chmod($this->appRoot . '/sites/' . $this->directory . '/settings.php', 0640);
        } catch (IOExceptionInterface $e) {
            $this->getIo()->error(
                sprintf(
                    $this->trans('commands.multisite.new.errors.chmod-fail'),
                    $this->appRoot . '/sites/' . $this->directory . '/settings.php'
                )
            );

            return 1;
        }
    }