summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2018-02-28 09:47:34 -0600
committerRobert Speicher <rspeicher@gmail.com>2018-02-28 09:47:34 -0600
commita04ff31e40993564ff0a4d3df254a8eab740905b (patch)
tree05ed261cfd2ad1433938fd3bca17a786010a2b26
parenta2a48581a1bf5f59f0ba6116592887e252890e54 (diff)
downloadgitlab-ce-a04ff31e40993564ff0a4d3df254a8eab740905b.tar.gz
Set security harness hook to executable after creationdocs/rs-harness-executable
-rwxr-xr-xscripts/security-harness2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/security-harness b/scripts/security-harness
index d454f44dff7..c60b3410095 100755
--- a/scripts/security-harness
+++ b/scripts/security-harness
@@ -21,6 +21,8 @@ else
File.open(hook_path, 'w') do |file|
IO.copy_stream(DATA, file)
end
+
+ File.chmod(0755, hook_path)
end
# Toggle the harness on or off