{"action":"created","issue":{"url":"https://api.github.com/repos/awslabs/amazon-kinesis-agent/issues/38","repository_url":"https://api.github.com/repos/awslabs/amazon-kinesis-agent","labels_url":"https://api.github.com/repos/awslabs/amazon-kinesis-agent/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/awslabs/amazon-kinesis-agent/issues/38/comments","events_url":"https://api.github.com/repos/awslabs/amazon-kinesis-agent/issues/38/events","html_url":"https://github.com/awslabs/amazon-kinesis-agent/pull/38","id":163939003,"number":38,"title":"fix permissions issue in RedHat startup script","user":{"login":"rsolomo","id":1733241,"avatar_url":"https://avatars.githubusercontent.com/u/1733241?v=3","gravatar_id":"","url":"https://api.github.com/users/rsolomo","html_url":"https://github.com/rsolomo","followers_url":"https://api.github.com/users/rsolomo/followers","following_url":"https://api.github.com/users/rsolomo/following{/other_user}","gists_url":"https://api.github.com/users/rsolomo/gists{/gist_id}","starred_url":"https://api.github.com/users/rsolomo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rsolomo/subscriptions","organizations_url":"https://api.github.com/users/rsolomo/orgs","repos_url":"https://api.github.com/users/rsolomo/repos","events_url":"https://api.github.com/users/rsolomo/events{/privacy}","received_events_url":"https://api.github.com/users/rsolomo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-05T20:26:55Z","updated_at":"2016-07-05T22:38:45Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/awslabs/amazon-kinesis-agent/pulls/38","html_url":"https://github.com/awslabs/amazon-kinesis-agent/pull/38","diff_url":"https://github.com/awslabs/amazon-kinesis-agent/pull/38.diff","patch_url":"https://github.com/awslabs/amazon-kinesis-agent/pull/38.patch"},"body":"Running `mkdir -p` resulted in the `/var/run/aws-kinesis-agent`\r\ndirectory being created as root, but the aws-kinesis-agent-user user\r\nneeds to have permissions to that directory. This change results in\r\n`aws-kinesis-agent-user` being the owner of the directory, instead of\r\nroot."},"comment":{"url":"https://api.github.com/repos/awslabs/amazon-kinesis-agent/issues/comments/230623253","html_url":"https://github.com/awslabs/amazon-kinesis-agent/pull/38#issuecomment-230623253","issue_url":"https://api.github.com/repos/awslabs/amazon-kinesis-agent/issues/38","id":230623253,"user":{"login":"chaochenq","id":15022724,"avatar_url":"https://avatars.githubusercontent.com/u/15022724?v=3","gravatar_id":"","url":"https://api.github.com/users/chaochenq","html_url":"https://github.com/chaochenq","followers_url":"https://api.github.com/users/chaochenq/followers","following_url":"https://api.github.com/users/chaochenq/following{/other_user}","gists_url":"https://api.github.com/users/chaochenq/gists{/gist_id}","starred_url":"https://api.github.com/users/chaochenq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chaochenq/subscriptions","organizations_url":"https://api.github.com/users/chaochenq/orgs","repos_url":"https://api.github.com/users/chaochenq/repos","events_url":"https://api.github.com/users/chaochenq/events{/privacy}","received_events_url":"https://api.github.com/users/chaochenq/received_events","type":"User","site_admin":false},"created_at":"2016-07-05T22:38:45Z","updated_at":"2016-07-05T22:38:45Z","body":"How did you run into the permission conflict? Because as part of the installation, the owner of /var/run/aws-kinesis-agent should have been set to aws-kinesis-agent-user:\r\n\r\nhttps://github.com/awslabs/amazon-kinesis-agent/blob/master/setup#L193"}}
{"actor":{"display_login":"chaochenq"}}