{"action":"created","issue":{"url":"https://api.github.com/repos/ceph/ceph-deploy/issues/314","labels_url":"https://api.github.com/repos/ceph/ceph-deploy/issues/314/labels{/name}","comments_url":"https://api.github.com/repos/ceph/ceph-deploy/issues/314/comments","events_url":"https://api.github.com/repos/ceph/ceph-deploy/issues/314/events","html_url":"https://github.com/ceph/ceph-deploy/pull/314","id":92647288,"number":314,"title":"Set owner of directory and keyrings according to owner of /var/lib/ceph.","user":{"login":"mbroz","id":1423503,"avatar_url":"https://avatars.githubusercontent.com/u/1423503?v=3","gravatar_id":"","url":"https://api.github.com/users/mbroz","html_url":"https://github.com/mbroz","followers_url":"https://api.github.com/users/mbroz/followers","following_url":"https://api.github.com/users/mbroz/following{/other_user}","gists_url":"https://api.github.com/users/mbroz/gists{/gist_id}","starred_url":"https://api.github.com/users/mbroz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbroz/subscriptions","organizations_url":"https://api.github.com/users/mbroz/orgs","repos_url":"https://api.github.com/users/mbroz/repos","events_url":"https://api.github.com/users/mbroz/events{/privacy}","received_events_url":"https://api.github.com/users/mbroz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-07-02T14:08:06Z","updated_at":"2015-07-08T22:34:19Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ceph/ceph-deploy/pulls/314","html_url":"https://github.com/ceph/ceph-deploy/pull/314","diff_url":"https://github.com/ceph/ceph-deploy/pull/314.diff","patch_url":"https://github.com/ceph/ceph-deploy/pull/314.patch"},"body":"If Ceph is running under separate ceph user, it requires access\r\nto various files under this user.\r\nThis patch tries to set owner of these files to the current owner\r\nof base_dir (/var/lib/ceph).\r\n\r\nIf the ceph directory is owned by root, it expects old installation\r\nand should work with old tools as well (avoids --setuser option).\r\n\r\nSigned-off-by: Milan Broz <mbroz@redhat.com>"},"comment":{"url":"https://api.github.com/repos/ceph/ceph-deploy/issues/comments/119750444","html_url":"https://github.com/ceph/ceph-deploy/pull/314#issuecomment-119750444","issue_url":"https://api.github.com/repos/ceph/ceph-deploy/issues/314","id":119750444,"user":{"login":"osynge","id":669365,"avatar_url":"https://avatars.githubusercontent.com/u/669365?v=3","gravatar_id":"","url":"https://api.github.com/users/osynge","html_url":"https://github.com/osynge","followers_url":"https://api.github.com/users/osynge/followers","following_url":"https://api.github.com/users/osynge/following{/other_user}","gists_url":"https://api.github.com/users/osynge/gists{/gist_id}","starred_url":"https://api.github.com/users/osynge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/osynge/subscriptions","organizations_url":"https://api.github.com/users/osynge/orgs","repos_url":"https://api.github.com/users/osynge/repos","events_url":"https://api.github.com/users/osynge/events{/privacy}","received_events_url":"https://api.github.com/users/osynge/received_events","type":"User","site_admin":false},"created_at":"2015-07-08T22:34:19Z","updated_at":"2015-07-08T22:34:19Z","body":"or if it shows it can get the uid/gid from user and group names, rather than requiring a directory."}}