{"action":"created","issue":{"url":"https://api.github.com/repos/esp8266/Arduino/issues/518","labels_url":"https://api.github.com/repos/esp8266/Arduino/issues/518/labels{/name}","comments_url":"https://api.github.com/repos/esp8266/Arduino/issues/518/comments","events_url":"https://api.github.com/repos/esp8266/Arduino/issues/518/events","html_url":"https://github.com/esp8266/Arduino/issues/518","id":93757070,"number":518,"title":"change esptool exe permission on windows build","user":{"login":"hallard","id":2471931,"avatar_url":"https://avatars.githubusercontent.com/u/2471931?v=3","gravatar_id":"","url":"https://api.github.com/users/hallard","html_url":"https://github.com/hallard","followers_url":"https://api.github.com/users/hallard/followers","following_url":"https://api.github.com/users/hallard/following{/other_user}","gists_url":"https://api.github.com/users/hallard/gists{/gist_id}","starred_url":"https://api.github.com/users/hallard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hallard/subscriptions","organizations_url":"https://api.github.com/users/hallard/orgs","repos_url":"https://api.github.com/users/hallard/repos","events_url":"https://api.github.com/users/hallard/events{/privacy}","received_events_url":"https://api.github.com/users/hallard/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-08T10:30:02Z","updated_at":"2015-07-08T14:54:20Z","closed_at":null,"body":"Guys,\r\nwhen I pull repo and build (cygwin) with ant under windows (8.1 x64) the programmer file esptool does not have the execute permission, this makes the IDE unable to launch the tool and fire a error.\r\n\r\n![image](https://cloud.githubusercontent.com/assets/2471931/8568327/fdbf8a80-256c-11e5-939a-87dd00bace5c.png)\r\n\r\nfiring a\r\n`chmod ug+x windows/work/hardware/esp8266com/esp8266/tools/esptool.exe` \r\nsolve the problem. Would it be possible to add this job to the windows build process ?\r\n\r\nThank you very much for your help\r\n\r\nCheers,\r\nCharles\r\n"},"comment":{"url":"https://api.github.com/repos/esp8266/Arduino/issues/comments/119611740","html_url":"https://github.com/esp8266/Arduino/issues/518#issuecomment-119611740","issue_url":"https://api.github.com/repos/esp8266/Arduino/issues/518","id":119611740,"user":{"login":"igrr","id":4349050,"avatar_url":"https://avatars.githubusercontent.com/u/4349050?v=3","gravatar_id":"","url":"https://api.github.com/users/igrr","html_url":"https://github.com/igrr","followers_url":"https://api.github.com/users/igrr/followers","following_url":"https://api.github.com/users/igrr/following{/other_user}","gists_url":"https://api.github.com/users/igrr/gists{/gist_id}","starred_url":"https://api.github.com/users/igrr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/igrr/subscriptions","organizations_url":"https://api.github.com/users/igrr/orgs","repos_url":"https://api.github.com/users/igrr/repos","events_url":"https://api.github.com/users/igrr/events{/privacy}","received_events_url":"https://api.github.com/users/igrr/received_events","type":"User","site_admin":false},"created_at":"2015-07-08T14:54:20Z","updated_at":"2015-07-08T14:54:20Z","body":"Charles,\r\n\r\nPlease try this patch locally and let me know if it works. I don't have the environment to test.\r\n```diff\r\ndiff --git a/build/build.xml b/build/build.xml\r\nindex 663bc63..fcbbc1c 100644\r\n--- a/build/build.xml\r\n+++ b/build/build.xml\r\n@@ -987,6 +987,7 @@\r\n     </antcall>\r\n     <move file=\"${staging_folder}/work/${staging_hardware_folder}/esp8266com/esp8266/tools/esptool-0.4.5-win32/esptool.exe\" tofile=\"${staging_folder}/work/${staging_hardware_folder}/esp8266com/esp8266/tools/esptool.exe\" />\r\n     <delete dir=\"${staging_folder}/work/${staging_hardware_folder}/esp8266com/esp8266/tools/esptool-0.4.5-win32/\" />\r\n+    <chmod perm=\"+x\" file=\"${staging_folder}/work/${staging_hardware_folder}/esp8266com/esp8266/tools/esptool.exe\" />\r\n  \r\n   </target>\r\n```"}}