You should be able to commit an executable permissions change in git.

But you could also side step all of these by running your script explicitly
with the shell. That will make your script robust and not rely on exec
permissions.

What I mean is do:

/bin/bash ./gocd/game-deploy/pushOneGame.sh

Inside of your script. It will always run and doesn’t depend on exec bit
being set.

On Sun, Feb 21, 2021 at 4:26 PM Fenn <[email protected]> wrote:

> This might help:
>
>
> https://linoxide.com/linux-shell-script/make-bash-script-executable-using-chmod/
>
> If not try these:
>
> https://linuxize.com/post/chmod-command-in-linux/
> https://www.lifewire.com/uses-of-command-chmod-2201064
> https://linux.die.net/man/1/chmod
> https://linux.die.net/man/1/chown
> https://linux.die.net/man/8/groupadd
> https://linux.die.net/man/8/usermod
> https://linux.die.net/man/5/group
>
> --
> You received this message because you are subscribed to the Google Groups
> "go-cd" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/go-cd/CAGJwi9iE4DH4zV4mciG%3DVhPuF117iikitHvwbZAUE%2B7xbC-2bA%40mail.gmail.com
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"go-cd" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/go-cd/CAPKX9jZmhUQCaciGaD%3DB486CWsWM4Z-VvgNbCmOj-eEedhifNw%40mail.gmail.com.

Reply via email to