{"action":"created","issue":{"url":"https://api.github.com/repos/davidstrauss/google-drive-recursive-ownership/issues/5","labels_url":"https://api.github.com/repos/davidstrauss/google-drive-recursive-ownership/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/davidstrauss/google-drive-recursive-ownership/issues/5/comments","events_url":"https://api.github.com/repos/davidstrauss/google-drive-recursive-ownership/issues/5/events","html_url":"https://github.com/davidstrauss/google-drive-recursive-ownership/issues/5","id":126017034,"number":5,"title":"wrong owner after script runs","user":{"login":"rainabba","id":553630,"avatar_url":"https://avatars.githubusercontent.com/u/553630?v=3","gravatar_id":"","url":"https://api.github.com/users/rainabba","html_url":"https://github.com/rainabba","followers_url":"https://api.github.com/users/rainabba/followers","following_url":"https://api.github.com/users/rainabba/following{/other_user}","gists_url":"https://api.github.com/users/rainabba/gists{/gist_id}","starred_url":"https://api.github.com/users/rainabba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rainabba/subscriptions","organizations_url":"https://api.github.com/users/rainabba/orgs","repos_url":"https://api.github.com/users/rainabba/repos","events_url":"https://api.github.com/users/rainabba/events{/privacy}","received_events_url":"https://api.github.com/users/rainabba/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/davidstrauss/google-drive-recursive-ownership/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-01-11T19:22:00Z","updated_at":"2016-01-21T18:17:14Z","closed_at":"2016-01-21T18:17:14Z","body":"Luckily I caught this early because I have 10,000's of files I was going to execute this on. By comparing the console output and using https://developers.google.com/drive/v2/reference/permissions/getIdForEmail, I can tell that the correct drive#permissionId is being obtained for the email provided in the command-line, but by looking at new owners in drive and activity for affected items, I've found that the wrong account is getting ownership.\r\n\r\nI'm forking to investigate and possibly provide some output control options making this hard to use for me. I'll update here and/or submit a PR if I find anything conclusive."},"comment":{"url":"https://api.github.com/repos/davidstrauss/google-drive-recursive-ownership/issues/comments/173661493","html_url":"https://github.com/davidstrauss/google-drive-recursive-ownership/issues/5#issuecomment-173661493","issue_url":"https://api.github.com/repos/davidstrauss/google-drive-recursive-ownership/issues/5","id":173661493,"user":{"login":"rainabba","id":553630,"avatar_url":"https://avatars.githubusercontent.com/u/553630?v=3","gravatar_id":"","url":"https://api.github.com/users/rainabba","html_url":"https://github.com/rainabba","followers_url":"https://api.github.com/users/rainabba/followers","following_url":"https://api.github.com/users/rainabba/following{/other_user}","gists_url":"https://api.github.com/users/rainabba/gists{/gist_id}","starred_url":"https://api.github.com/users/rainabba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rainabba/subscriptions","organizations_url":"https://api.github.com/users/rainabba/orgs","repos_url":"https://api.github.com/users/rainabba/repos","events_url":"https://api.github.com/users/rainabba/events{/privacy}","received_events_url":"https://api.github.com/users/rainabba/received_events","type":"User","site_admin":false},"created_at":"2016-01-21T18:17:14Z","updated_at":"2016-01-21T18:17:14Z","body":"My apologies, but I had to work around so I changed my approach with accounts and don't think I can reproduce now. Hopefully this was just a bad perception on my part. If I do run across it again, I will reply here and reopen."}}