{"action":"created","issue":{"url":"https://api.github.com/repos/symfony/symfony/issues/13222","labels_url":"https://api.github.com/repos/symfony/symfony/issues/13222/labels{/name}","comments_url":"https://api.github.com/repos/symfony/symfony/issues/13222/comments","events_url":"https://api.github.com/repos/symfony/symfony/issues/13222/events","html_url":"https://github.com/symfony/symfony/pull/13222","id":53309506,"number":13222,"title":"[Filesystem] [Keep executable permission] use octal notation.","user":{"login":"aitboudad","id":1753742,"avatar_url":"https://avatars.githubusercontent.com/u/1753742?v=3","gravatar_id":"","url":"https://api.github.com/users/aitboudad","html_url":"https://github.com/aitboudad","followers_url":"https://api.github.com/users/aitboudad/followers","following_url":"https://api.github.com/users/aitboudad/following{/other_user}","gists_url":"https://api.github.com/users/aitboudad/gists{/gist_id}","starred_url":"https://api.github.com/users/aitboudad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aitboudad/subscriptions","organizations_url":"https://api.github.com/users/aitboudad/orgs","repos_url":"https://api.github.com/users/aitboudad/repos","events_url":"https://api.github.com/users/aitboudad/events{/privacy}","received_events_url":"https://api.github.com/users/aitboudad/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-03T17:15:42Z","updated_at":"2015-01-03T18:03:52Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/symfony/symfony/pulls/13222","html_url":"https://github.com/symfony/symfony/pull/13222","diff_url":"https://github.com/symfony/symfony/pull/13222.diff","patch_url":"https://github.com/symfony/symfony/pull/13222.patch"},"body":"| Q             | A\r\n| ------------- | ---\r\n| Bug fix?      | no\r\n| New feature?  | no\r\n| BC breaks?    | no\r\n| Deprecations? | no\r\n| Fixed tickets  | #12653\r\n| Tests pass?   | yes\r\n| License       | MIT\r\n\r\nUse octal notation as @stof suggested in https://github.com/symfony/symfony/pull/12653/files#r22431992"},"comment":{"url":"https://api.github.com/repos/symfony/symfony/issues/comments/68603556","html_url":"https://github.com/symfony/symfony/pull/13222#issuecomment-68603556","issue_url":"https://api.github.com/repos/symfony/symfony/issues/13222","id":68603556,"user":{"login":"nicolas-grekas","id":243674,"avatar_url":"https://avatars.githubusercontent.com/u/243674?v=3","gravatar_id":"","url":"https://api.github.com/users/nicolas-grekas","html_url":"https://github.com/nicolas-grekas","followers_url":"https://api.github.com/users/nicolas-grekas/followers","following_url":"https://api.github.com/users/nicolas-grekas/following{/other_user}","gists_url":"https://api.github.com/users/nicolas-grekas/gists{/gist_id}","starred_url":"https://api.github.com/users/nicolas-grekas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicolas-grekas/subscriptions","organizations_url":"https://api.github.com/users/nicolas-grekas/orgs","repos_url":"https://api.github.com/users/nicolas-grekas/repos","events_url":"https://api.github.com/users/nicolas-grekas/events{/privacy}","received_events_url":"https://api.github.com/users/nicolas-grekas/received_events","type":"User","site_admin":false},"created_at":"2015-01-03T18:03:52Z","updated_at":"2015-01-03T18:03:52Z","body":"I missed the previous PR. Why don't you preserve all the permissions?\r\ni.e. unconditionally `chmod($targetFile, fileperms($originFile))` instead of this `if (is_executable(...)`"}}