Commit 4b8f7b9607e6af84ef4c64ebc3d4bf1fb572c17a
1 parent
e2bc5d11
Exists in
master
and in
4 other branches
Recursively set the SELinux type of ~git/.ssh
Showing
2 changed files
with
2 additions
and
1 deletions
Show diff stats
CHANGELOG
... | ... | @@ -8,6 +8,7 @@ omnibus-gitlab repository. |
8 | 8 | - Fix MySQL build for Ubuntu 14.04 |
9 | 9 | - Built-in UDP log shipping (Enterprise Edition only) |
10 | 10 | - Trigger Unicorn/Sidekiq restart during version change |
11 | +- Recursively set the SELinux type of ~git/.ssh | |
11 | 12 | |
12 | 13 | 7.0.0-ee.omnibus.1 |
13 | 14 | - Fix MySQL build for Ubuntu 14.04 | ... | ... |
files/gitlab-cookbooks/gitlab/recipes/gitlab-shell.rb
... | ... | @@ -54,7 +54,7 @@ end |
54 | 54 | |
55 | 55 | # If SELinux is enabled, make sure that OpenSSH thinks the .ssh directory of the |
56 | 56 | # git_user is valid. |
57 | -execute "chcon -t ssh_home_t #{ssh_dir}" do | |
57 | +execute "chcon --recursive --type ssh_home_t #{ssh_dir}" do | |
58 | 58 | only_if "id -Z" |
59 | 59 | end |
60 | 60 | ... | ... |