summaryrefslogtreecommitdiff
path: root/bin/install
diff options
context:
space:
mode:
authorJacob Vosmaer <jacob@gitlab.com>2016-08-01 17:52:05 +0200
committerJacob Vosmaer <jacob@gitlab.com>2016-08-01 17:52:05 +0200
commitd12d210fd6a6cd7fe9f397703fc752c562b68b92 (patch)
treefae18b313f7efbc83682f2f5bdadf4e18ce04f86 /bin/install
parentc3cfebcf1cad21434bd90d4d3bb33824c4644eb5 (diff)
downloadgitlab-shell-keys-chmod.tar.gz
Manage authorized_keys permissions continuouslykeys-chmod
We can lazily create authorized_keys and set its permissions. This adds negligible overhead and it allows us to remove a setup step from GitLab both on source and in omnibus-gitlab.
Diffstat (limited to 'bin/install')
-rwxr-xr-xbin/install2
1 files changed, 0 insertions, 2 deletions
diff --git a/bin/install b/bin/install
index 73ac592..e9c1654 100755
--- a/bin/install
+++ b/bin/install
@@ -13,8 +13,6 @@ repository_storage_paths = ARGV
commands = [
%W(mkdir -p #{key_dir}),
%W(chmod 700 #{key_dir}),
- %W(touch #{config.auth_file}),
- %W(chmod 600 #{config.auth_file}),
]
repository_storage_paths.each do |repository_storage_path|