Commit 773f4703570ef47bc48f5ca771380448696db938
1 parent
a5ebd33f
Exists in
master
and in
23 other branches
Fixing gitlab-assets owner
Showing
1 changed file
with
5 additions
and
0 deletions
Show diff stats
cookbooks/gitlab/recipes/default.rb
... | ... | @@ -115,6 +115,11 @@ execute 'change-assets-owner' do |
115 | 115 | only_if 'ls -l /usr/lib/gitlab/public/assets | grep root' |
116 | 116 | end |
117 | 117 | |
118 | +execute 'change-gitlab-assets-owner' do | |
119 | + command 'chown -R git:git /var/lib/gitlab-assets' | |
120 | + only_if 'ls -l /var/lib/gitlab-assets | grep root' | |
121 | +end | |
122 | + | |
118 | 123 | execute 'precompile-assets' do |
119 | 124 | user 'git' |
120 | 125 | cwd '/usr/lib/gitlab' | ... | ... |