protected function setPermissions($projectPath, OutputInterface $output)
{
$output->writeln('<info>Setting Permissions</info>');
$command = 'vagrant ssh -c \'cd /var/www/public; sudo find . -type d -exec chmod 700 {} \\;\'';
new ProcessCommand($command, $projectPath, $output);
$output->writeln('<comment>Folder Permissions Set</comment>');
$command = 'vagrant ssh -c \'cd /var/www/public; sudo find . -type f -exec chmod 600 {} \\;\'';
new ProcessCommand($command, $projectPath, $output);
$output->writeln('<comment>File Permissions Set</comment>');
$command = 'vagrant ssh -c \'cd /var/www/public; sudo chmod +x bin/magento; sudo chmod 755 bin/phpspec; sudo chmod 755 bin/behat;\'';
new ProcessCommand($command, $projectPath, $output);
$output->writeln('<comment>bin/magento Permissions Set</comment>');
}