summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2018-02-28 16:51:43 +0000
committerRémy Coutable <remy@rymai.me>2018-02-28 16:51:43 +0000
commit0d3ed41ae532812f2529d31a75aec6b103ee0dfa (patch)
tree6031e8153f14f5f791976a182a7733fbe3cdd244
parentb07b2ea5b583a43a89ac0f34e4ee9168be991349 (diff)
parenta04ff31e40993564ff0a4d3df254a8eab740905b (diff)
downloadgitlab-ce-0d3ed41ae532812f2529d31a75aec6b103ee0dfa.tar.gz
Merge branch 'docs/rs-harness-executable' into 'master'
Set security harness hook to executable after creation Closes #43709 See merge request gitlab-org/gitlab-ce!17425
-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