Skip to content
This repository has been archived by the owner on Aug 29, 2018. It is now read-only.

Commit

Permalink
Bug 1049044 - Restore setting ssh config settings for gear
Browse files Browse the repository at this point in the history
* Setting the file permissions was incorrectly removed
* https://bugzilla.redhat.com/show_bug.cgi?id=1049044#c8
  • Loading branch information
jwhonce committed Jan 23, 2014
1 parent 792b0b0 commit 83cd9f2
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,8 @@ def generate_ssh_key()
FileUtils.touch(known_hosts)
FileUtils.touch(ssh_config)

set_rw_permission_R(ssh_dir)

FileUtils.chmod(0600, [ssh_key, ssh_public_key])
FileUtils.chmod(0660, [known_hosts, ssh_config])

Expand Down

0 comments on commit 83cd9f2

Please sign in to comment.