{"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":2,"created_at":"2015-07-08T10:30:02Z","updated_at":"2015-07-08T15:21:24Z","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/119623402","html_url":"https://github.com/esp8266/Arduino/issues/518#issuecomment-119623402","issue_url":"https://api.github.com/repos/esp8266/Arduino/issues/518","id":119623402,"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},"created_at":"2015-07-08T15:21:24Z","updated_at":"2015-07-08T15:21:24Z","body":"Ivan,\r\ndid not worked, chmod seems doing nothing in this case !!\r\nBut, got the solution, remembering my Windows Server IT Admin years, move keep perms from source so solution is to copy (instead of moving) the file from source, then delete from source\r\nThis is done by \r\n\r\n    </antcall>\r\n    <copy 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 file=\"${staging_folder}/work/${staging_hardware_folder}/esp8266com/esp8266/tools/esptool-0.4.5-win32/esptool.exe\" />\r\n    <delete dir=\"${staging_folder}/work/${staging_hardware_folder}/esp8266com/esp8266/tools/esptool-0.4.5-win32/\" />\r\n\r\nThen it works ;-)\r\n\r\n![image](https://cloud.githubusercontent.com/assets/2471931/8574156/8bdf6a06-2595-11e5-8779-418855b9531c.png)\r\n\r\n"}}