diff options
author | Robert Speicher <rspeicher@gmail.com> | 2018-02-28 09:47:34 -0600 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2018-02-28 09:47:34 -0600 |
commit | a04ff31e40993564ff0a4d3df254a8eab740905b (patch) | |
tree | 05ed261cfd2ad1433938fd3bca17a786010a2b26 | |
parent | a2a48581a1bf5f59f0ba6116592887e252890e54 (diff) | |
download | gitlab-ce-a04ff31e40993564ff0a4d3df254a8eab740905b.tar.gz |
Set security harness hook to executable after creationdocs/rs-harness-executable
-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 |