make created file executable for all users
This commit is contained in:
parent
87f04ab56a
commit
b318800b32
2 changed files with 2 additions and 2 deletions
|
|
@ -11,4 +11,4 @@ echo "#!/bin/bash" > "$1"
|
||||||
echo "" >> "$1"
|
echo "" >> "$1"
|
||||||
echo "$2" >> "$1"
|
echo "$2" >> "$1"
|
||||||
|
|
||||||
chmod u+x "$1"
|
chmod +x "$1"
|
||||||
|
|
|
||||||
|
|
@ -11,4 +11,4 @@ echo "#!/bin/sh" > "$1"
|
||||||
echo "" >> "$1"
|
echo "" >> "$1"
|
||||||
echo "$2" >> "$1"
|
echo "$2" >> "$1"
|
||||||
|
|
||||||
chmod u+x "$1"
|
chmod +x "$1"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue