From d12d210fd6a6cd7fe9f397703fc752c562b68b92 Mon Sep 17 00:00:00 2001 From: Jacob Vosmaer Date: Mon, 1 Aug 2016 17:52:05 +0200 Subject: Manage authorized_keys permissions continuously 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. --- bin/install | 2 -- 1 file changed, 2 deletions(-) (limited to 'bin/install') 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| -- cgit v1.2.1