{"action":"reopened","number":2281,"pull_request":{"url":"https://api.github.com/repos/JabRef/jabref/pulls/2281","id":94178138,"html_url":"https://github.com/JabRef/jabref/pull/2281","diff_url":"https://github.com/JabRef/jabref/pull/2281.diff","patch_url":"https://github.com/JabRef/jabref/pull/2281.patch","issue_url":"https://api.github.com/repos/JabRef/jabref/issues/2281","number":2281,"state":"open","locked":false,"title":"Fix #2279: File permissions are kept upon save","user":{"login":"tobiasdiez","id":5037600,"avatar_url":"https://avatars.githubusercontent.com/u/5037600?v=3","gravatar_id":"","url":"https://api.github.com/users/tobiasdiez","html_url":"https://github.com/tobiasdiez","followers_url":"https://api.github.com/users/tobiasdiez/followers","following_url":"https://api.github.com/users/tobiasdiez/following{/other_user}","gists_url":"https://api.github.com/users/tobiasdiez/gists{/gist_id}","starred_url":"https://api.github.com/users/tobiasdiez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tobiasdiez/subscriptions","organizations_url":"https://api.github.com/users/tobiasdiez/orgs","repos_url":"https://api.github.com/users/tobiasdiez/repos","events_url":"https://api.github.com/users/tobiasdiez/events{/privacy}","received_events_url":"https://api.github.com/users/tobiasdiez/received_events","type":"User","site_admin":false},"body":"Fixes #2279.\r\nJabRef does not directly writes to the bib-file upon save but creates a temporary file which is then copied over the original one. In this process the original file permissions get lost. Should be fixed with this PR (I have not tried it...).\r\nI pushed the code to the branch https://github.com/JabRef/jabref/tree/filePermissions but for some reason the setup files do not show up on [builds.jabref.org](http://builds.jabref.org/)\r\n\r\n- [x] Change in CHANGELOG.md described\r\n- [ ] Tests created for changes\r\n- [ ] Screenshots added (for bigger UI changes)\r\n- [ ] Manually tested changed features in running JabRef\r\n- [ ] Check documentation status (Issue created for outdated help page at [help.jabref.org](https://github.com/JabRef/help.jabref.org/issues)?)\r\n- [ ] If you changed the localization: Did you run `gradle localizationUpdate`?\r\n\r\n","created_at":"2016-11-17T14:32:16Z","updated_at":"2016-11-17T20:23:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2d74cab230431ab3c54d15801fa42fe5658895f9","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/JabRef/jabref/pulls/2281/commits","review_comments_url":"https://api.github.com/repos/JabRef/jabref/pulls/2281/comments","review_comment_url":"https://api.github.com/repos/JabRef/jabref/pulls/comments{/number}","comments_url":"https://api.github.com/repos/JabRef/jabref/issues/2281/comments","statuses_url":"https://api.github.com/repos/JabRef/jabref/statuses/bff8dfbf2dee35a38b2f49c2fc086f769179476c","head":{"label":"tobiasdiez:filePermissions","ref":"filePermissions","sha":"bff8dfbf2dee35a38b2f49c2fc086f769179476c","user":{"login":"tobiasdiez","id":5037600,"avatar_url":"https://avatars.githubusercontent.com/u/5037600?v=3","gravatar_id":"","url":"https://api.github.com/users/tobiasdiez","html_url":"https://github.com/tobiasdiez","followers_url":"https://api.github.com/users/tobiasdiez/followers","following_url":"https://api.github.com/users/tobiasdiez/following{/other_user}","gists_url":"https://api.github.com/users/tobiasdiez/gists{/gist_id}","starred_url":"https://api.github.com/users/tobiasdiez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tobiasdiez/subscriptions","organizations_url":"https://api.github.com/users/tobiasdiez/orgs","repos_url":"https://api.github.com/users/tobiasdiez/repos","events_url":"https://api.github.com/users/tobiasdiez/events{/privacy}","received_events_url":"https://api.github.com/users/tobiasdiez/received_events","type":"User","site_admin":false},"repo":{"id":25407066,"name":"jabref","full_name":"tobiasdiez/jabref","owner":{"login":"tobiasdiez","id":5037600,"avatar_url":"https://avatars.githubusercontent.com/u/5037600?v=3","gravatar_id":"","url":"https://api.github.com/users/tobiasdiez","html_url":"https://github.com/tobiasdiez","followers_url":"https://api.github.com/users/tobiasdiez/followers","following_url":"https://api.github.com/users/tobiasdiez/following{/other_user}","gists_url":"https://api.github.com/users/tobiasdiez/gists{/gist_id}","starred_url":"https://api.github.com/users/tobiasdiez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tobiasdiez/subscriptions","organizations_url":"https://api.github.com/users/tobiasdiez/orgs","repos_url":"https://api.github.com/users/tobiasdiez/repos","events_url":"https://api.github.com/users/tobiasdiez/events{/privacy}","received_events_url":"https://api.github.com/users/tobiasdiez/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tobiasdiez/jabref","description":"Graphical Java application for managing bibtex (.bib) databases","fork":true,"url":"https://api.github.com/repos/tobiasdiez/jabref","forks_url":"https://api.github.com/repos/tobiasdiez/jabref/forks","keys_url":"https://api.github.com/repos/tobiasdiez/jabref/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tobiasdiez/jabref/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tobiasdiez/jabref/teams","hooks_url":"https://api.github.com/repos/tobiasdiez/jabref/hooks","issue_events_url":"https://api.github.com/repos/tobiasdiez/jabref/issues/events{/number}","events_url":"https://api.github.com/repos/tobiasdiez/jabref/events","assignees_url":"https://api.github.com/repos/tobiasdiez/jabref/assignees{/user}","branches_url":"https://api.github.com/repos/tobiasdiez/jabref/branches{/branch}","tags_url":"https://api.github.com/repos/tobiasdiez/jabref/tags","blobs_url":"https://api.github.com/repos/tobiasdiez/jabref/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tobiasdiez/jabref/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tobiasdiez/jabref/git/refs{/sha}","trees_url":"https://api.github.com/repos/tobiasdiez/jabref/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tobiasdiez/jabref/statuses/{sha}","languages_url":"https://api.github.com/repos/tobiasdiez/jabref/languages","stargazers_url":"https://api.github.com/repos/tobiasdiez/jabref/stargazers","contributors_url":"https://api.github.com/repos/tobiasdiez/jabref/contributors","subscribers_url":"https://api.github.com/repos/tobiasdiez/jabref/subscribers","subscription_url":"https://api.github.com/repos/tobiasdiez/jabref/subscription","commits_url":"https://api.github.com/repos/tobiasdiez/jabref/commits{/sha}","git_commits_url":"https://api.github.com/repos/tobiasdiez/jabref/git/commits{/sha}","comments_url":"https://api.github.com/repos/tobiasdiez/jabref/comments{/number}","issue_comment_url":"https://api.github.com/repos/tobiasdiez/jabref/issues/comments{/number}","contents_url":"https://api.github.com/repos/tobiasdiez/jabref/contents/{+path}","compare_url":"https://api.github.com/repos/tobiasdiez/jabref/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tobiasdiez/jabref/merges","archive_url":"https://api.github.com/repos/tobiasdiez/jabref/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tobiasdiez/jabref/downloads","issues_url":"https://api.github.com/repos/tobiasdiez/jabref/issues{/number}","pulls_url":"https://api.github.com/repos/tobiasdiez/jabref/pulls{/number}","milestones_url":"https://api.github.com/repos/tobiasdiez/jabref/milestones{/number}","notifications_url":"https://api.github.com/repos/tobiasdiez/jabref/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tobiasdiez/jabref/labels{/name}","releases_url":"https://api.github.com/repos/tobiasdiez/jabref/releases{/id}","deployments_url":"https://api.github.com/repos/tobiasdiez/jabref/deployments","created_at":"2014-10-18T19:04:49Z","updated_at":"2016-08-17T18:31:17Z","pushed_at":"2016-11-17T15:36:24Z","git_url":"git://github.com/tobiasdiez/jabref.git","ssh_url":"git@github.com:tobiasdiez/jabref.git","clone_url":"https://github.com/tobiasdiez/jabref.git","svn_url":"https://github.com/tobiasdiez/jabref","homepage":"http://jabref.sourceforge.net/","size":98834,"stargazers_count":0,"watchers_count":0,"language":"Java","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":"JabRef:master","ref":"master","sha":"19a3af1475c0e06d9e6411125b859afed163c6a5","user":{"login":"JabRef","id":3914421,"avatar_url":"https://avatars.githubusercontent.com/u/3914421?v=3","gravatar_id":"","url":"https://api.github.com/users/JabRef","html_url":"https://github.com/JabRef","followers_url":"https://api.github.com/users/JabRef/followers","following_url":"https://api.github.com/users/JabRef/following{/other_user}","gists_url":"https://api.github.com/users/JabRef/gists{/gist_id}","starred_url":"https://api.github.com/users/JabRef/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JabRef/subscriptions","organizations_url":"https://api.github.com/users/JabRef/orgs","repos_url":"https://api.github.com/users/JabRef/repos","events_url":"https://api.github.com/users/JabRef/events{/privacy}","received_events_url":"https://api.github.com/users/JabRef/received_events","type":"Organization","site_admin":false},"repo":{"id":17634071,"name":"jabref","full_name":"JabRef/jabref","owner":{"login":"JabRef","id":3914421,"avatar_url":"https://avatars.githubusercontent.com/u/3914421?v=3","gravatar_id":"","url":"https://api.github.com/users/JabRef","html_url":"https://github.com/JabRef","followers_url":"https://api.github.com/users/JabRef/followers","following_url":"https://api.github.com/users/JabRef/following{/other_user}","gists_url":"https://api.github.com/users/JabRef/gists{/gist_id}","starred_url":"https://api.github.com/users/JabRef/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JabRef/subscriptions","organizations_url":"https://api.github.com/users/JabRef/orgs","repos_url":"https://api.github.com/users/JabRef/repos","events_url":"https://api.github.com/users/JabRef/events{/privacy}","received_events_url":"https://api.github.com/users/JabRef/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/JabRef/jabref","description":"Graphical Java application for managing BibTeX and BibLaTeX (.bib) databases","fork":false,"url":"https://api.github.com/repos/JabRef/jabref","forks_url":"https://api.github.com/repos/JabRef/jabref/forks","keys_url":"https://api.github.com/repos/JabRef/jabref/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JabRef/jabref/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JabRef/jabref/teams","hooks_url":"https://api.github.com/repos/JabRef/jabref/hooks","issue_events_url":"https://api.github.com/repos/JabRef/jabref/issues/events{/number}","events_url":"https://api.github.com/repos/JabRef/jabref/events","assignees_url":"https://api.github.com/repos/JabRef/jabref/assignees{/user}","branches_url":"https://api.github.com/repos/JabRef/jabref/branches{/branch}","tags_url":"https://api.github.com/repos/JabRef/jabref/tags","blobs_url":"https://api.github.com/repos/JabRef/jabref/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JabRef/jabref/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JabRef/jabref/git/refs{/sha}","trees_url":"https://api.github.com/repos/JabRef/jabref/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JabRef/jabref/statuses/{sha}","languages_url":"https://api.github.com/repos/JabRef/jabref/languages","stargazers_url":"https://api.github.com/repos/JabRef/jabref/stargazers","contributors_url":"https://api.github.com/repos/JabRef/jabref/contributors","subscribers_url":"https://api.github.com/repos/JabRef/jabref/subscribers","subscription_url":"https://api.github.com/repos/JabRef/jabref/subscription","commits_url":"https://api.github.com/repos/JabRef/jabref/commits{/sha}","git_commits_url":"https://api.github.com/repos/JabRef/jabref/git/commits{/sha}","comments_url":"https://api.github.com/repos/JabRef/jabref/comments{/number}","issue_comment_url":"https://api.github.com/repos/JabRef/jabref/issues/comments{/number}","contents_url":"https://api.github.com/repos/JabRef/jabref/contents/{+path}","compare_url":"https://api.github.com/repos/JabRef/jabref/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JabRef/jabref/merges","archive_url":"https://api.github.com/repos/JabRef/jabref/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JabRef/jabref/downloads","issues_url":"https://api.github.com/repos/JabRef/jabref/issues{/number}","pulls_url":"https://api.github.com/repos/JabRef/jabref/pulls{/number}","milestones_url":"https://api.github.com/repos/JabRef/jabref/milestones{/number}","notifications_url":"https://api.github.com/repos/JabRef/jabref/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JabRef/jabref/labels{/name}","releases_url":"https://api.github.com/repos/JabRef/jabref/releases{/id}","deployments_url":"https://api.github.com/repos/JabRef/jabref/deployments","created_at":"2014-03-11T14:48:42Z","updated_at":"2016-11-17T19:15:44Z","pushed_at":"2016-11-17T15:36:24Z","git_url":"git://github.com/JabRef/jabref.git","ssh_url":"git@github.com:JabRef/jabref.git","clone_url":"https://github.com/JabRef/jabref.git","svn_url":"https://github.com/JabRef/jabref","homepage":"https://www.jabref.org/","size":123838,"stargazers_count":384,"watchers_count":384,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":270,"mirror_url":null,"open_issues_count":192,"forks":270,"open_issues":192,"watchers":384,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/JabRef/jabref/pulls/2281"},"html":{"href":"https://github.com/JabRef/jabref/pull/2281"},"issue":{"href":"https://api.github.com/repos/JabRef/jabref/issues/2281"},"comments":{"href":"https://api.github.com/repos/JabRef/jabref/issues/2281/comments"},"review_comments":{"href":"https://api.github.com/repos/JabRef/jabref/pulls/2281/comments"},"review_comment":{"href":"https://api.github.com/repos/JabRef/jabref/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/JabRef/jabref/pulls/2281/commits"},"statuses":{"href":"https://api.github.com/repos/JabRef/jabref/statuses/bff8dfbf2dee35a38b2f49c2fc086f769179476c"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":3,"review_comments":0,"commits":1,"additions":22,"deletions":1,"changed_files":2}}
{"actor":{"display_login":"tobiasdiez"}}