Skip to content
Snippets Groups Projects
Commit 9a968616 authored by Jacob Vosmaer's avatar Jacob Vosmaer
Browse files

Use the ssh_home_t SELinux context for ~git/.ssh

parent da017f4f
No related branches found
No related tags found
1 merge request!44Backport CentOS fixes to 6-6-pre
Loading
Loading
@@ -40,7 +40,7 @@ end
 
# If SELinux is enabled, make sure that OpenSSH thinks the .ssh directory of the
# git_user is valid.
execute "chcon -t user_home_t #{ssh_dir}" do
execute "chcon -t ssh_home_t #{ssh_dir}" do
only_if "id -Z"
end
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment