{"action":"closed","number":5030,"pull_request":{"url":"https://api.github.com/repos/mitchellh/vagrant/pulls/5030","id":26365653,"html_url":"https://github.com/mitchellh/vagrant/pull/5030","diff_url":"https://github.com/mitchellh/vagrant/pull/5030.diff","patch_url":"https://github.com/mitchellh/vagrant/pull/5030.patch","issue_url":"https://api.github.com/repos/mitchellh/vagrant/issues/5030","number":5030,"state":"closed","locked":false,"title":"Being able to edit a file does not mean you can write in its parent directory","user":{"login":"willdurand","id":217628,"avatar_url":"https://avatars.githubusercontent.com/u/217628?v=3","gravatar_id":"","url":"https://api.github.com/users/willdurand","html_url":"https://github.com/willdurand","followers_url":"https://api.github.com/users/willdurand/followers","following_url":"https://api.github.com/users/willdurand/following{/other_user}","gists_url":"https://api.github.com/users/willdurand/gists{/gist_id}","starred_url":"https://api.github.com/users/willdurand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/willdurand/subscriptions","organizations_url":"https://api.github.com/users/willdurand/orgs","repos_url":"https://api.github.com/users/willdurand/repos","events_url":"https://api.github.com/users/willdurand/events{/privacy}","received_events_url":"https://api.github.com/users/willdurand/received_events","type":"User","site_admin":false},"body":"Interactive `sed` needs write permission on the file itself. However, it may create a backup file, which leads to the fact that the directory where the file is located must be writable as well. That is a side effect because this directory does not need to be writable.\r\n\r\nThis patch fixes this side effect by editing the file in `/tmp`, and replaces it right after.","created_at":"2014-12-19T11:27:50Z","updated_at":"2015-06-01T15:51:11Z","closed_at":"2015-06-01T15:51:11Z","merged_at":null,"merge_commit_sha":"b1a76758727836a98e602ac87056db5684c9eecb","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mitchellh/vagrant/pulls/5030/commits","review_comments_url":"https://api.github.com/repos/mitchellh/vagrant/pulls/5030/comments","review_comment_url":"https://api.github.com/repos/mitchellh/vagrant/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mitchellh/vagrant/issues/5030/comments","statuses_url":"https://api.github.com/repos/mitchellh/vagrant/statuses/9dd65510ad7e6458c69512b38e3d9759c9bea489","head":{"label":"willdurand:fix-sed","ref":"fix-sed","sha":"9dd65510ad7e6458c69512b38e3d9759c9bea489","user":{"login":"willdurand","id":217628,"avatar_url":"https://avatars.githubusercontent.com/u/217628?v=3","gravatar_id":"","url":"https://api.github.com/users/willdurand","html_url":"https://github.com/willdurand","followers_url":"https://api.github.com/users/willdurand/followers","following_url":"https://api.github.com/users/willdurand/following{/other_user}","gists_url":"https://api.github.com/users/willdurand/gists{/gist_id}","starred_url":"https://api.github.com/users/willdurand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/willdurand/subscriptions","organizations_url":"https://api.github.com/users/willdurand/orgs","repos_url":"https://api.github.com/users/willdurand/repos","events_url":"https://api.github.com/users/willdurand/events{/privacy}","received_events_url":"https://api.github.com/users/willdurand/received_events","type":"User","site_admin":false},"repo":null},"base":{"label":"mitchellh:master","ref":"master","sha":"5efb30653ef6d981c2cd1cb4b31fb1eda87e7264","user":{"login":"mitchellh","id":1299,"avatar_url":"https://avatars.githubusercontent.com/u/1299?v=3","gravatar_id":"","url":"https://api.github.com/users/mitchellh","html_url":"https://github.com/mitchellh","followers_url":"https://api.github.com/users/mitchellh/followers","following_url":"https://api.github.com/users/mitchellh/following{/other_user}","gists_url":"https://api.github.com/users/mitchellh/gists{/gist_id}","starred_url":"https://api.github.com/users/mitchellh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mitchellh/subscriptions","organizations_url":"https://api.github.com/users/mitchellh/orgs","repos_url":"https://api.github.com/users/mitchellh/repos","events_url":"https://api.github.com/users/mitchellh/events{/privacy}","received_events_url":"https://api.github.com/users/mitchellh/received_events","type":"User","site_admin":false},"repo":{"id":481872,"name":"vagrant","full_name":"mitchellh/vagrant","owner":{"login":"mitchellh","id":1299,"avatar_url":"https://avatars.githubusercontent.com/u/1299?v=3","gravatar_id":"","url":"https://api.github.com/users/mitchellh","html_url":"https://github.com/mitchellh","followers_url":"https://api.github.com/users/mitchellh/followers","following_url":"https://api.github.com/users/mitchellh/following{/other_user}","gists_url":"https://api.github.com/users/mitchellh/gists{/gist_id}","starred_url":"https://api.github.com/users/mitchellh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mitchellh/subscriptions","organizations_url":"https://api.github.com/users/mitchellh/orgs","repos_url":"https://api.github.com/users/mitchellh/repos","events_url":"https://api.github.com/users/mitchellh/events{/privacy}","received_events_url":"https://api.github.com/users/mitchellh/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mitchellh/vagrant","description":"Vagrant is a tool for building and distributing development environments.","fork":false,"url":"https://api.github.com/repos/mitchellh/vagrant","forks_url":"https://api.github.com/repos/mitchellh/vagrant/forks","keys_url":"https://api.github.com/repos/mitchellh/vagrant/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mitchellh/vagrant/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mitchellh/vagrant/teams","hooks_url":"https://api.github.com/repos/mitchellh/vagrant/hooks","issue_events_url":"https://api.github.com/repos/mitchellh/vagrant/issues/events{/number}","events_url":"https://api.github.com/repos/mitchellh/vagrant/events","assignees_url":"https://api.github.com/repos/mitchellh/vagrant/assignees{/user}","branches_url":"https://api.github.com/repos/mitchellh/vagrant/branches{/branch}","tags_url":"https://api.github.com/repos/mitchellh/vagrant/tags","blobs_url":"https://api.github.com/repos/mitchellh/vagrant/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mitchellh/vagrant/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mitchellh/vagrant/git/refs{/sha}","trees_url":"https://api.github.com/repos/mitchellh/vagrant/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mitchellh/vagrant/statuses/{sha}","languages_url":"https://api.github.com/repos/mitchellh/vagrant/languages","stargazers_url":"https://api.github.com/repos/mitchellh/vagrant/stargazers","contributors_url":"https://api.github.com/repos/mitchellh/vagrant/contributors","subscribers_url":"https://api.github.com/repos/mitchellh/vagrant/subscribers","subscription_url":"https://api.github.com/repos/mitchellh/vagrant/subscription","commits_url":"https://api.github.com/repos/mitchellh/vagrant/commits{/sha}","git_commits_url":"https://api.github.com/repos/mitchellh/vagrant/git/commits{/sha}","comments_url":"https://api.github.com/repos/mitchellh/vagrant/comments{/number}","issue_comment_url":"https://api.github.com/repos/mitchellh/vagrant/issues/comments{/number}","contents_url":"https://api.github.com/repos/mitchellh/vagrant/contents/{+path}","compare_url":"https://api.github.com/repos/mitchellh/vagrant/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mitchellh/vagrant/merges","archive_url":"https://api.github.com/repos/mitchellh/vagrant/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mitchellh/vagrant/downloads","issues_url":"https://api.github.com/repos/mitchellh/vagrant/issues{/number}","pulls_url":"https://api.github.com/repos/mitchellh/vagrant/pulls{/number}","milestones_url":"https://api.github.com/repos/mitchellh/vagrant/milestones{/number}","notifications_url":"https://api.github.com/repos/mitchellh/vagrant/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mitchellh/vagrant/labels{/name}","releases_url":"https://api.github.com/repos/mitchellh/vagrant/releases{/id}","created_at":"2010-01-21T08:34:27Z","updated_at":"2015-06-01T13:33:07Z","pushed_at":"2015-06-01T15:49:16Z","git_url":"git://github.com/mitchellh/vagrant.git","ssh_url":"git@github.com:mitchellh/vagrant.git","clone_url":"https://github.com/mitchellh/vagrant.git","svn_url":"https://github.com/mitchellh/vagrant","homepage":"http://www.vagrantup.com","size":43216,"stargazers_count":9373,"watchers_count":9373,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2045,"mirror_url":null,"open_issues_count":489,"forks":2045,"open_issues":489,"watchers":9373,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mitchellh/vagrant/pulls/5030"},"html":{"href":"https://github.com/mitchellh/vagrant/pull/5030"},"issue":{"href":"https://api.github.com/repos/mitchellh/vagrant/issues/5030"},"comments":{"href":"https://api.github.com/repos/mitchellh/vagrant/issues/5030/comments"},"review_comments":{"href":"https://api.github.com/repos/mitchellh/vagrant/pulls/5030/comments"},"review_comment":{"href":"https://api.github.com/repos/mitchellh/vagrant/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mitchellh/vagrant/pulls/5030/commits"},"statuses":{"href":"https://api.github.com/repos/mitchellh/vagrant/statuses/9dd65510ad7e6458c69512b38e3d9759c9bea489"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":5,"review_comments":2,"commits":1,"additions":1,"deletions":1,"changed_files":1}}