From caa3c23c452cd454798fda1e2ba470de952f2778 Mon Sep 17 00:00:00 2001 From: Ralph Schindler Date: Thu, 17 Sep 2020 13:47:58 -0500 Subject: [PATCH] Ensure artisan command is executable (755) Alter command to 755 artisan when a new laravel application is created --- src/NewCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NewCommand.php b/src/NewCommand.php index aae22421..2d57343d 100644 --- a/src/NewCommand.php +++ b/src/NewCommand.php @@ -93,7 +93,7 @@ protected function execute(InputInterface $input, OutputInterface $output) } if (PHP_OS_FAMILY != 'Windows') { - $commands[] = "chmod 644 \"$directory/artisan\""; + $commands[] = "chmod 755 \"$directory/artisan\""; } if (($process = $this->runCommands($commands, $input, $output))->isSuccessful()) {