Skip to content

Commit ec3ffd6

Browse files
Ensure artisan command is executable (755) (#153)
Alter command to 755 artisan when a new laravel application is created
1 parent daf45ce commit ec3ffd6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/NewCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
9393
}
9494

9595
if (PHP_OS_FAMILY != 'Windows') {
96-
$commands[] = "chmod 644 \"$directory/artisan\"";
96+
$commands[] = "chmod 755 \"$directory/artisan\"";
9797
}
9898

9999
if (($process = $this->runCommands($commands, $input, $output))->isSuccessful()) {

0 commit comments

Comments
 (0)