diff options
author | Rémy Coutable <remy@rymai.me> | 2018-02-28 16:51:43 +0000 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2018-02-28 16:51:43 +0000 |
commit | 0d3ed41ae532812f2529d31a75aec6b103ee0dfa (patch) | |
tree | 6031e8153f14f5f791976a182a7733fbe3cdd244 | |
parent | b07b2ea5b583a43a89ac0f34e4ee9168be991349 (diff) | |
parent | a04ff31e40993564ff0a4d3df254a8eab740905b (diff) | |
download | gitlab-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-x | scripts/security-harness | 2 |
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 |