From 9e203eeb4e9eaedfea5358e377dd7351d5f7dd22 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Mon, 6 Jul 2020 17:02:38 +0200 Subject: Fix --- gitjoe-newuser.pl | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'gitjoe-newuser.pl') diff --git a/gitjoe-newuser.pl b/gitjoe-newuser.pl index 0a6a0e8..30510f9 100755 --- a/gitjoe-newuser.pl +++ b/gitjoe-newuser.pl @@ -46,6 +46,11 @@ ls"; open(my $fh, '>:encoding(UTF-8)', $home_dir . 'git-shell-commands'); print $fh $gitshell_cmds; close($fh); + system( + '/usr/local/bin/dash', + '-c', + '/bin/chmod +x ' . $home_dir . 'git-shell-commands' + ); } main(); -- cgit v1.2.3