make created file executable for all users

This commit is contained in:
Ray Elliott 2020-02-25 09:56:38 +00:00
parent 87f04ab56a
commit b318800b32
2 changed files with 2 additions and 2 deletions

View File

@ -11,4 +11,4 @@ echo "#!/bin/bash" > "$1"
echo "" >> "$1"
echo "$2" >> "$1"
chmod u+x "$1"
chmod +x "$1"

View File

@ -11,4 +11,4 @@ echo "#!/bin/sh" > "$1"
echo "" >> "$1"
echo "$2" >> "$1"
chmod u+x "$1"
chmod +x "$1"