{"action":"closed","number":971,"pull_request":{"url":"https://api.github.com/repos/jclouds/jclouds/pulls/971","id":74226556,"html_url":"https://github.com/jclouds/jclouds/pull/971","diff_url":"https://github.com/jclouds/jclouds/pull/971.diff","patch_url":"https://github.com/jclouds/jclouds/pull/971.patch","issue_url":"https://api.github.com/repos/jclouds/jclouds/issues/971","number":971,"state":"closed","locked":false,"title":"Properly set the permissions in the ~/.ssh folder","user":{"login":"nacx","id":446705,"avatar_url":"https://avatars.githubusercontent.com/u/446705?v=3","gravatar_id":"","url":"https://api.github.com/users/nacx","html_url":"https://github.com/nacx","followers_url":"https://api.github.com/users/nacx/followers","following_url":"https://api.github.com/users/nacx/following{/other_user}","gists_url":"https://api.github.com/users/nacx/gists{/gist_id}","starred_url":"https://api.github.com/users/nacx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nacx/subscriptions","organizations_url":"https://api.github.com/users/nacx/orgs","repos_url":"https://api.github.com/users/nacx/repos","events_url":"https://api.github.com/users/nacx/events{/privacy}","received_events_url":"https://api.github.com/users/nacx/received_events","type":"User","site_admin":false},"body":"When writing the ~/.ssh/authorized_keys file in a script that is being run as sudo, the file is created with the root owner, instead of the user defined by the node credentials. File ownership should be enforced to make sure the right owner is always set.\r\n\r\nThis will require changes to jclouds-labs to align existing classes to the new interface.\r\n\r\n@ritazh Could you test this with the azurecompute-arm provider?\r\n\r\nI've just opened this now to get early feedback. I still have to run several live tests before merging.","created_at":"2016-06-17T11:15:32Z","updated_at":"2016-06-17T20:44:54Z","closed_at":"2016-06-17T20:44:54Z","merged_at":null,"merge_commit_sha":"7e80ed4a4585d4b19a2721c5672a85744d5f2b42","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jclouds/jclouds/pulls/971/commits","review_comments_url":"https://api.github.com/repos/jclouds/jclouds/pulls/971/comments","review_comment_url":"https://api.github.com/repos/jclouds/jclouds/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jclouds/jclouds/issues/971/comments","statuses_url":"https://api.github.com/repos/jclouds/jclouds/statuses/f08a47e554e5e534a9a38865699e95380a92ef21","head":{"label":"nacx:auth-permissions","ref":"auth-permissions","sha":"f08a47e554e5e534a9a38865699e95380a92ef21","user":{"login":"nacx","id":446705,"avatar_url":"https://avatars.githubusercontent.com/u/446705?v=3","gravatar_id":"","url":"https://api.github.com/users/nacx","html_url":"https://github.com/nacx","followers_url":"https://api.github.com/users/nacx/followers","following_url":"https://api.github.com/users/nacx/following{/other_user}","gists_url":"https://api.github.com/users/nacx/gists{/gist_id}","starred_url":"https://api.github.com/users/nacx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nacx/subscriptions","organizations_url":"https://api.github.com/users/nacx/orgs","repos_url":"https://api.github.com/users/nacx/repos","events_url":"https://api.github.com/users/nacx/events{/privacy}","received_events_url":"https://api.github.com/users/nacx/received_events","type":"User","site_admin":false},"repo":{"id":10056922,"name":"jclouds","full_name":"nacx/jclouds","owner":{"login":"nacx","id":446705,"avatar_url":"https://avatars.githubusercontent.com/u/446705?v=3","gravatar_id":"","url":"https://api.github.com/users/nacx","html_url":"https://github.com/nacx","followers_url":"https://api.github.com/users/nacx/followers","following_url":"https://api.github.com/users/nacx/following{/other_user}","gists_url":"https://api.github.com/users/nacx/gists{/gist_id}","starred_url":"https://api.github.com/users/nacx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nacx/subscriptions","organizations_url":"https://api.github.com/users/nacx/orgs","repos_url":"https://api.github.com/users/nacx/repos","events_url":"https://api.github.com/users/nacx/events{/privacy}","received_events_url":"https://api.github.com/users/nacx/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nacx/jclouds","description":"Read-only mirror of ASF Git Repo for jclouds","fork":true,"url":"https://api.github.com/repos/nacx/jclouds","forks_url":"https://api.github.com/repos/nacx/jclouds/forks","keys_url":"https://api.github.com/repos/nacx/jclouds/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nacx/jclouds/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nacx/jclouds/teams","hooks_url":"https://api.github.com/repos/nacx/jclouds/hooks","issue_events_url":"https://api.github.com/repos/nacx/jclouds/issues/events{/number}","events_url":"https://api.github.com/repos/nacx/jclouds/events","assignees_url":"https://api.github.com/repos/nacx/jclouds/assignees{/user}","branches_url":"https://api.github.com/repos/nacx/jclouds/branches{/branch}","tags_url":"https://api.github.com/repos/nacx/jclouds/tags","blobs_url":"https://api.github.com/repos/nacx/jclouds/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nacx/jclouds/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nacx/jclouds/git/refs{/sha}","trees_url":"https://api.github.com/repos/nacx/jclouds/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nacx/jclouds/statuses/{sha}","languages_url":"https://api.github.com/repos/nacx/jclouds/languages","stargazers_url":"https://api.github.com/repos/nacx/jclouds/stargazers","contributors_url":"https://api.github.com/repos/nacx/jclouds/contributors","subscribers_url":"https://api.github.com/repos/nacx/jclouds/subscribers","subscription_url":"https://api.github.com/repos/nacx/jclouds/subscription","commits_url":"https://api.github.com/repos/nacx/jclouds/commits{/sha}","git_commits_url":"https://api.github.com/repos/nacx/jclouds/git/commits{/sha}","comments_url":"https://api.github.com/repos/nacx/jclouds/comments{/number}","issue_comment_url":"https://api.github.com/repos/nacx/jclouds/issues/comments{/number}","contents_url":"https://api.github.com/repos/nacx/jclouds/contents/{+path}","compare_url":"https://api.github.com/repos/nacx/jclouds/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nacx/jclouds/merges","archive_url":"https://api.github.com/repos/nacx/jclouds/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nacx/jclouds/downloads","issues_url":"https://api.github.com/repos/nacx/jclouds/issues{/number}","pulls_url":"https://api.github.com/repos/nacx/jclouds/pulls{/number}","milestones_url":"https://api.github.com/repos/nacx/jclouds/milestones{/number}","notifications_url":"https://api.github.com/repos/nacx/jclouds/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nacx/jclouds/labels{/name}","releases_url":"https://api.github.com/repos/nacx/jclouds/releases{/id}","deployments_url":"https://api.github.com/repos/nacx/jclouds/deployments","created_at":"2013-05-14T14:25:11Z","updated_at":"2015-04-15T19:39:39Z","pushed_at":"2016-06-17T09:25:26Z","git_url":"git://github.com/nacx/jclouds.git","ssh_url":"git@github.com:nacx/jclouds.git","clone_url":"https://github.com/nacx/jclouds.git","svn_url":"https://github.com/nacx/jclouds","homepage":null,"size":77327,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"jclouds:master","ref":"master","sha":"04c2394a105665d8868588d2e9d62b645182ec6b","user":{"login":"jclouds","id":108982,"avatar_url":"https://avatars.githubusercontent.com/u/108982?v=3","gravatar_id":"","url":"https://api.github.com/users/jclouds","html_url":"https://github.com/jclouds","followers_url":"https://api.github.com/users/jclouds/followers","following_url":"https://api.github.com/users/jclouds/following{/other_user}","gists_url":"https://api.github.com/users/jclouds/gists{/gist_id}","starred_url":"https://api.github.com/users/jclouds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jclouds/subscriptions","organizations_url":"https://api.github.com/users/jclouds/orgs","repos_url":"https://api.github.com/users/jclouds/repos","events_url":"https://api.github.com/users/jclouds/events{/privacy}","received_events_url":"https://api.github.com/users/jclouds/received_events","type":"Organization","site_admin":false},"repo":{"id":10040960,"name":"jclouds","full_name":"jclouds/jclouds","owner":{"login":"jclouds","id":108982,"avatar_url":"https://avatars.githubusercontent.com/u/108982?v=3","gravatar_id":"","url":"https://api.github.com/users/jclouds","html_url":"https://github.com/jclouds","followers_url":"https://api.github.com/users/jclouds/followers","following_url":"https://api.github.com/users/jclouds/following{/other_user}","gists_url":"https://api.github.com/users/jclouds/gists{/gist_id}","starred_url":"https://api.github.com/users/jclouds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jclouds/subscriptions","organizations_url":"https://api.github.com/users/jclouds/orgs","repos_url":"https://api.github.com/users/jclouds/repos","events_url":"https://api.github.com/users/jclouds/events{/privacy}","received_events_url":"https://api.github.com/users/jclouds/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/jclouds/jclouds","description":"Read-only mirror of ASF Git Repo for jclouds","fork":false,"url":"https://api.github.com/repos/jclouds/jclouds","forks_url":"https://api.github.com/repos/jclouds/jclouds/forks","keys_url":"https://api.github.com/repos/jclouds/jclouds/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jclouds/jclouds/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jclouds/jclouds/teams","hooks_url":"https://api.github.com/repos/jclouds/jclouds/hooks","issue_events_url":"https://api.github.com/repos/jclouds/jclouds/issues/events{/number}","events_url":"https://api.github.com/repos/jclouds/jclouds/events","assignees_url":"https://api.github.com/repos/jclouds/jclouds/assignees{/user}","branches_url":"https://api.github.com/repos/jclouds/jclouds/branches{/branch}","tags_url":"https://api.github.com/repos/jclouds/jclouds/tags","blobs_url":"https://api.github.com/repos/jclouds/jclouds/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jclouds/jclouds/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jclouds/jclouds/git/refs{/sha}","trees_url":"https://api.github.com/repos/jclouds/jclouds/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jclouds/jclouds/statuses/{sha}","languages_url":"https://api.github.com/repos/jclouds/jclouds/languages","stargazers_url":"https://api.github.com/repos/jclouds/jclouds/stargazers","contributors_url":"https://api.github.com/repos/jclouds/jclouds/contributors","subscribers_url":"https://api.github.com/repos/jclouds/jclouds/subscribers","subscription_url":"https://api.github.com/repos/jclouds/jclouds/subscription","commits_url":"https://api.github.com/repos/jclouds/jclouds/commits{/sha}","git_commits_url":"https://api.github.com/repos/jclouds/jclouds/git/commits{/sha}","comments_url":"https://api.github.com/repos/jclouds/jclouds/comments{/number}","issue_comment_url":"https://api.github.com/repos/jclouds/jclouds/issues/comments{/number}","contents_url":"https://api.github.com/repos/jclouds/jclouds/contents/{+path}","compare_url":"https://api.github.com/repos/jclouds/jclouds/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jclouds/jclouds/merges","archive_url":"https://api.github.com/repos/jclouds/jclouds/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jclouds/jclouds/downloads","issues_url":"https://api.github.com/repos/jclouds/jclouds/issues{/number}","pulls_url":"https://api.github.com/repos/jclouds/jclouds/pulls{/number}","milestones_url":"https://api.github.com/repos/jclouds/jclouds/milestones{/number}","notifications_url":"https://api.github.com/repos/jclouds/jclouds/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jclouds/jclouds/labels{/name}","releases_url":"https://api.github.com/repos/jclouds/jclouds/releases{/id}","deployments_url":"https://api.github.com/repos/jclouds/jclouds/deployments","created_at":"2013-05-13T20:47:29Z","updated_at":"2016-06-16T23:18:58Z","pushed_at":"2016-06-17T11:15:32Z","git_url":"git://github.com/jclouds/jclouds.git","ssh_url":"git@github.com:jclouds/jclouds.git","clone_url":"https://github.com/jclouds/jclouds.git","svn_url":"https://github.com/jclouds/jclouds","homepage":"http://jclouds.apache.org/","size":96215,"stargazers_count":256,"watchers_count":256,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":388,"mirror_url":null,"open_issues_count":20,"forks":388,"open_issues":20,"watchers":256,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jclouds/jclouds/pulls/971"},"html":{"href":"https://github.com/jclouds/jclouds/pull/971"},"issue":{"href":"https://api.github.com/repos/jclouds/jclouds/issues/971"},"comments":{"href":"https://api.github.com/repos/jclouds/jclouds/issues/971/comments"},"review_comments":{"href":"https://api.github.com/repos/jclouds/jclouds/pulls/971/comments"},"review_comment":{"href":"https://api.github.com/repos/jclouds/jclouds/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jclouds/jclouds/pulls/971/commits"},"statuses":{"href":"https://api.github.com/repos/jclouds/jclouds/statuses/f08a47e554e5e534a9a38865699e95380a92ef21"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":3,"review_comments":0,"commits":1,"additions":128,"deletions":52,"changed_files":20}}
{"actor":{"display_login":"nacx"}}