{"action":"created","comment":{"url":"https://api.github.com/repos/NIT-dgp/UIP/pulls/comments/90837937","pull_request_review_id":11351778,"id":90837937,"diff_hunk":"@@ -17,9 +17,11 @@ def get_contents(filename):\n #Make Home Directory\n if not os.path.exists(HOME_DIR):\n     os.makedirs(HOME_DIR)\n+    os.chmod(HOME_DIR,0o777)\n \n if not os.path.exists(DEFAULT_PICS_FOLDER):\n     os.makedirs(DEFAULT_PICS_FOLDER)\n+    os.chmod(DEFAULT_PICS_FOLDER,0o777)","path":"setup.py","position":8,"original_position":8,"commit_id":"17a187c2dd6624eb6fab6b3f57df6f59cb133677","original_commit_id":"17a187c2dd6624eb6fab6b3f57df6f59cb133677","user":{"login":"abhsag24","id":8532031,"avatar_url":"https://avatars.githubusercontent.com/u/8532031?v=3","gravatar_id":"","url":"https://api.github.com/users/abhsag24","html_url":"https://github.com/abhsag24","followers_url":"https://api.github.com/users/abhsag24/followers","following_url":"https://api.github.com/users/abhsag24/following{/other_user}","gists_url":"https://api.github.com/users/abhsag24/gists{/gist_id}","starred_url":"https://api.github.com/users/abhsag24/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abhsag24/subscriptions","organizations_url":"https://api.github.com/users/abhsag24/orgs","repos_url":"https://api.github.com/users/abhsag24/repos","events_url":"https://api.github.com/users/abhsag24/events{/privacy}","received_events_url":"https://api.github.com/users/abhsag24/received_events","type":"User","site_admin":false},"body":"can we only do this for linux? maybe a wrapper function which only adds a mode if it is on linux?","created_at":"2016-12-05T10:31:56Z","updated_at":"2016-12-05T10:32:14Z","html_url":"https://github.com/NIT-dgp/UIP/pull/179#discussion_r90837937","pull_request_url":"https://api.github.com/repos/NIT-dgp/UIP/pulls/179","_links":{"self":{"href":"https://api.github.com/repos/NIT-dgp/UIP/pulls/comments/90837937"},"html":{"href":"https://github.com/NIT-dgp/UIP/pull/179#discussion_r90837937"},"pull_request":{"href":"https://api.github.com/repos/NIT-dgp/UIP/pulls/179"}}},"pull_request":{"url":"https://api.github.com/repos/NIT-dgp/UIP/pulls/179","id":96485918,"html_url":"https://github.com/NIT-dgp/UIP/pull/179","diff_url":"https://github.com/NIT-dgp/UIP/pull/179.diff","patch_url":"https://github.com/NIT-dgp/UIP/pull/179.patch","issue_url":"https://api.github.com/repos/NIT-dgp/UIP/issues/179","number":179,"state":"open","locked":false,"title":"Fix permission issues","user":{"login":"nemaniarjun","id":15715894,"avatar_url":"https://avatars.githubusercontent.com/u/15715894?v=3","gravatar_id":"","url":"https://api.github.com/users/nemaniarjun","html_url":"https://github.com/nemaniarjun","followers_url":"https://api.github.com/users/nemaniarjun/followers","following_url":"https://api.github.com/users/nemaniarjun/following{/other_user}","gists_url":"https://api.github.com/users/nemaniarjun/gists{/gist_id}","starred_url":"https://api.github.com/users/nemaniarjun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nemaniarjun/subscriptions","organizations_url":"https://api.github.com/users/nemaniarjun/orgs","repos_url":"https://api.github.com/users/nemaniarjun/repos","events_url":"https://api.github.com/users/nemaniarjun/events{/privacy}","received_events_url":"https://api.github.com/users/nemaniarjun/received_events","type":"User","site_admin":false},"body":"Changed default folder from ~/.uip to /uip-pics.\r\nThis prevents root privlage problems in linux.\r\n\r\nFixes #142","created_at":"2016-12-05T08:21:22Z","updated_at":"2016-12-05T10:32:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"aca735251d401ec2dc7d90d4d1859e86b2727d27","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/NIT-dgp/UIP/pulls/179/commits","review_comments_url":"https://api.github.com/repos/NIT-dgp/UIP/pulls/179/comments","review_comment_url":"https://api.github.com/repos/NIT-dgp/UIP/pulls/comments{/number}","comments_url":"https://api.github.com/repos/NIT-dgp/UIP/issues/179/comments","statuses_url":"https://api.github.com/repos/NIT-dgp/UIP/statuses/17a187c2dd6624eb6fab6b3f57df6f59cb133677","head":{"label":"nemaniarjun:change_dir","ref":"change_dir","sha":"17a187c2dd6624eb6fab6b3f57df6f59cb133677","user":{"login":"nemaniarjun","id":15715894,"avatar_url":"https://avatars.githubusercontent.com/u/15715894?v=3","gravatar_id":"","url":"https://api.github.com/users/nemaniarjun","html_url":"https://github.com/nemaniarjun","followers_url":"https://api.github.com/users/nemaniarjun/followers","following_url":"https://api.github.com/users/nemaniarjun/following{/other_user}","gists_url":"https://api.github.com/users/nemaniarjun/gists{/gist_id}","starred_url":"https://api.github.com/users/nemaniarjun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nemaniarjun/subscriptions","organizations_url":"https://api.github.com/users/nemaniarjun/orgs","repos_url":"https://api.github.com/users/nemaniarjun/repos","events_url":"https://api.github.com/users/nemaniarjun/events{/privacy}","received_events_url":"https://api.github.com/users/nemaniarjun/received_events","type":"User","site_admin":false},"repo":{"id":75266528,"name":"UIP","full_name":"nemaniarjun/UIP","owner":{"login":"nemaniarjun","id":15715894,"avatar_url":"https://avatars.githubusercontent.com/u/15715894?v=3","gravatar_id":"","url":"https://api.github.com/users/nemaniarjun","html_url":"https://github.com/nemaniarjun","followers_url":"https://api.github.com/users/nemaniarjun/followers","following_url":"https://api.github.com/users/nemaniarjun/following{/other_user}","gists_url":"https://api.github.com/users/nemaniarjun/gists{/gist_id}","starred_url":"https://api.github.com/users/nemaniarjun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nemaniarjun/subscriptions","organizations_url":"https://api.github.com/users/nemaniarjun/orgs","repos_url":"https://api.github.com/users/nemaniarjun/repos","events_url":"https://api.github.com/users/nemaniarjun/events{/privacy}","received_events_url":"https://api.github.com/users/nemaniarjun/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nemaniarjun/UIP","description":"Takes wallpapers from reddit subreddits and applies them as wallpapers to your desktop,","fork":true,"url":"https://api.github.com/repos/nemaniarjun/UIP","forks_url":"https://api.github.com/repos/nemaniarjun/UIP/forks","keys_url":"https://api.github.com/repos/nemaniarjun/UIP/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nemaniarjun/UIP/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nemaniarjun/UIP/teams","hooks_url":"https://api.github.com/repos/nemaniarjun/UIP/hooks","issue_events_url":"https://api.github.com/repos/nemaniarjun/UIP/issues/events{/number}","events_url":"https://api.github.com/repos/nemaniarjun/UIP/events","assignees_url":"https://api.github.com/repos/nemaniarjun/UIP/assignees{/user}","branches_url":"https://api.github.com/repos/nemaniarjun/UIP/branches{/branch}","tags_url":"https://api.github.com/repos/nemaniarjun/UIP/tags","blobs_url":"https://api.github.com/repos/nemaniarjun/UIP/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nemaniarjun/UIP/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nemaniarjun/UIP/git/refs{/sha}","trees_url":"https://api.github.com/repos/nemaniarjun/UIP/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nemaniarjun/UIP/statuses/{sha}","languages_url":"https://api.github.com/repos/nemaniarjun/UIP/languages","stargazers_url":"https://api.github.com/repos/nemaniarjun/UIP/stargazers","contributors_url":"https://api.github.com/repos/nemaniarjun/UIP/contributors","subscribers_url":"https://api.github.com/repos/nemaniarjun/UIP/subscribers","subscription_url":"https://api.github.com/repos/nemaniarjun/UIP/subscription","commits_url":"https://api.github.com/repos/nemaniarjun/UIP/commits{/sha}","git_commits_url":"https://api.github.com/repos/nemaniarjun/UIP/git/commits{/sha}","comments_url":"https://api.github.com/repos/nemaniarjun/UIP/comments{/number}","issue_comment_url":"https://api.github.com/repos/nemaniarjun/UIP/issues/comments{/number}","contents_url":"https://api.github.com/repos/nemaniarjun/UIP/contents/{+path}","compare_url":"https://api.github.com/repos/nemaniarjun/UIP/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nemaniarjun/UIP/merges","archive_url":"https://api.github.com/repos/nemaniarjun/UIP/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nemaniarjun/UIP/downloads","issues_url":"https://api.github.com/repos/nemaniarjun/UIP/issues{/number}","pulls_url":"https://api.github.com/repos/nemaniarjun/UIP/pulls{/number}","milestones_url":"https://api.github.com/repos/nemaniarjun/UIP/milestones{/number}","notifications_url":"https://api.github.com/repos/nemaniarjun/UIP/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nemaniarjun/UIP/labels{/name}","releases_url":"https://api.github.com/repos/nemaniarjun/UIP/releases{/id}","deployments_url":"https://api.github.com/repos/nemaniarjun/UIP/deployments","created_at":"2016-12-01T07:20:00Z","updated_at":"2016-12-01T07:20:01Z","pushed_at":"2016-12-05T10:29:13Z","git_url":"git://github.com/nemaniarjun/UIP.git","ssh_url":"git@github.com:nemaniarjun/UIP.git","clone_url":"https://github.com/nemaniarjun/UIP.git","svn_url":"https://github.com/nemaniarjun/UIP","homepage":"","size":19394,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"NIT-dgp:master","ref":"master","sha":"b35fd06f17e7b794a9e7ea4eea54541057b52807","user":{"login":"NIT-dgp","id":23071780,"avatar_url":"https://avatars.githubusercontent.com/u/23071780?v=3","gravatar_id":"","url":"https://api.github.com/users/NIT-dgp","html_url":"https://github.com/NIT-dgp","followers_url":"https://api.github.com/users/NIT-dgp/followers","following_url":"https://api.github.com/users/NIT-dgp/following{/other_user}","gists_url":"https://api.github.com/users/NIT-dgp/gists{/gist_id}","starred_url":"https://api.github.com/users/NIT-dgp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NIT-dgp/subscriptions","organizations_url":"https://api.github.com/users/NIT-dgp/orgs","repos_url":"https://api.github.com/users/NIT-dgp/repos","events_url":"https://api.github.com/users/NIT-dgp/events{/privacy}","received_events_url":"https://api.github.com/users/NIT-dgp/received_events","type":"Organization","site_admin":false},"repo":{"id":49678725,"name":"UIP","full_name":"NIT-dgp/UIP","owner":{"login":"NIT-dgp","id":23071780,"avatar_url":"https://avatars.githubusercontent.com/u/23071780?v=3","gravatar_id":"","url":"https://api.github.com/users/NIT-dgp","html_url":"https://github.com/NIT-dgp","followers_url":"https://api.github.com/users/NIT-dgp/followers","following_url":"https://api.github.com/users/NIT-dgp/following{/other_user}","gists_url":"https://api.github.com/users/NIT-dgp/gists{/gist_id}","starred_url":"https://api.github.com/users/NIT-dgp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NIT-dgp/subscriptions","organizations_url":"https://api.github.com/users/NIT-dgp/orgs","repos_url":"https://api.github.com/users/NIT-dgp/repos","events_url":"https://api.github.com/users/NIT-dgp/events{/privacy}","received_events_url":"https://api.github.com/users/NIT-dgp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/NIT-dgp/UIP","description":"Takes wallpapers from reddit subreddits and applies them as wallpapers to your desktop,","fork":false,"url":"https://api.github.com/repos/NIT-dgp/UIP","forks_url":"https://api.github.com/repos/NIT-dgp/UIP/forks","keys_url":"https://api.github.com/repos/NIT-dgp/UIP/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NIT-dgp/UIP/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NIT-dgp/UIP/teams","hooks_url":"https://api.github.com/repos/NIT-dgp/UIP/hooks","issue_events_url":"https://api.github.com/repos/NIT-dgp/UIP/issues/events{/number}","events_url":"https://api.github.com/repos/NIT-dgp/UIP/events","assignees_url":"https://api.github.com/repos/NIT-dgp/UIP/assignees{/user}","branches_url":"https://api.github.com/repos/NIT-dgp/UIP/branches{/branch}","tags_url":"https://api.github.com/repos/NIT-dgp/UIP/tags","blobs_url":"https://api.github.com/repos/NIT-dgp/UIP/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NIT-dgp/UIP/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NIT-dgp/UIP/git/refs{/sha}","trees_url":"https://api.github.com/repos/NIT-dgp/UIP/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NIT-dgp/UIP/statuses/{sha}","languages_url":"https://api.github.com/repos/NIT-dgp/UIP/languages","stargazers_url":"https://api.github.com/repos/NIT-dgp/UIP/stargazers","contributors_url":"https://api.github.com/repos/NIT-dgp/UIP/contributors","subscribers_url":"https://api.github.com/repos/NIT-dgp/UIP/subscribers","subscription_url":"https://api.github.com/repos/NIT-dgp/UIP/subscription","commits_url":"https://api.github.com/repos/NIT-dgp/UIP/commits{/sha}","git_commits_url":"https://api.github.com/repos/NIT-dgp/UIP/git/commits{/sha}","comments_url":"https://api.github.com/repos/NIT-dgp/UIP/comments{/number}","issue_comment_url":"https://api.github.com/repos/NIT-dgp/UIP/issues/comments{/number}","contents_url":"https://api.github.com/repos/NIT-dgp/UIP/contents/{+path}","compare_url":"https://api.github.com/repos/NIT-dgp/UIP/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NIT-dgp/UIP/merges","archive_url":"https://api.github.com/repos/NIT-dgp/UIP/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NIT-dgp/UIP/downloads","issues_url":"https://api.github.com/repos/NIT-dgp/UIP/issues{/number}","pulls_url":"https://api.github.com/repos/NIT-dgp/UIP/pulls{/number}","milestones_url":"https://api.github.com/repos/NIT-dgp/UIP/milestones{/number}","notifications_url":"https://api.github.com/repos/NIT-dgp/UIP/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NIT-dgp/UIP/labels{/name}","releases_url":"https://api.github.com/repos/NIT-dgp/UIP/releases{/id}","deployments_url":"https://api.github.com/repos/NIT-dgp/UIP/deployments","created_at":"2016-01-14T22:12:54Z","updated_at":"2016-12-02T18:41:24Z","pushed_at":"2016-12-05T10:29:14Z","git_url":"git://github.com/NIT-dgp/UIP.git","ssh_url":"git@github.com:NIT-dgp/UIP.git","clone_url":"https://github.com/NIT-dgp/UIP.git","svn_url":"https://github.com/NIT-dgp/UIP","homepage":"","size":19421,"stargazers_count":13,"watchers_count":13,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":31,"mirror_url":null,"open_issues_count":52,"forks":31,"open_issues":52,"watchers":13,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/NIT-dgp/UIP/pulls/179"},"html":{"href":"https://github.com/NIT-dgp/UIP/pull/179"},"issue":{"href":"https://api.github.com/repos/NIT-dgp/UIP/issues/179"},"comments":{"href":"https://api.github.com/repos/NIT-dgp/UIP/issues/179/comments"},"review_comments":{"href":"https://api.github.com/repos/NIT-dgp/UIP/pulls/179/comments"},"review_comment":{"href":"https://api.github.com/repos/NIT-dgp/UIP/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/NIT-dgp/UIP/pulls/179/commits"},"statuses":{"href":"https://api.github.com/repos/NIT-dgp/UIP/statuses/17a187c2dd6624eb6fab6b3f57df6f59cb133677"}}}}
{"actor":{"display_login":"abhsag24"}}