[
https://issues.apache.org/jira/browse/IMPALA-8314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16802960#comment-16802960
]
ASF subversion and git services commented on IMPALA-8314:
---------------------------------------------------------
Commit fbe6cb4e0189e1e7f00c5a1a501002e676e216ce in impala's branch
refs/heads/master from Hector Acosta
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=fbe6cb4 ]
IMPALA-8314 Set correct permissions for ~/.ssh files
Without this running bootstrap_system.sh resulted in:
++ chmod go-rwx /home/hacosta/.ssh
++ [[ -f /home/hacosta/.ssh/id_rsa ]]
++ ssh-keygen -t rsa -N '' -q -f /home/hacosta/.ssh/id_rsa
++ cat /home/hacosta/.ssh/id_rsa.pub
++ echo 'NoHostAuthenticationForLocalhost yes'
++ ssh localhost whoami
Bad owner or permissions on /home/hacosta/.ssh/config
Change-Id: I3dd6b12318dd99c67127bff10a89adb931f44087
Reviewed-on: http://gerrit.cloudera.org:8080/12725
Reviewed-by: Joe McDonnell <[email protected]>
Tested-by: Impala Public Jenkins <[email protected]>
> bootstrap_system.sh does not set correct permissions for files in ~/.ssh
> ------------------------------------------------------------------------
>
> Key: IMPALA-8314
> URL: https://issues.apache.org/jira/browse/IMPALA-8314
> Project: IMPALA
> Issue Type: Bug
> Reporter: Hector Acosta
> Priority: Major
>
> bootstrap_system.sh may generate (or append to) ~/.ssh/authorized_keys and
> ~/.ssh/config which may result in the following error:
> {code:java}
> ssh localhost whoami
> Bad owner or permissions on $HOME/.ssh/config
> {code}
> The correct permissions here are 0600 regardless of the umask setting.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]