{"action":"opened","issue":{"url":"https://api.github.com/repos/ardock/cascade/issues/1","repository_url":"https://api.github.com/repos/ardock/cascade","labels_url":"https://api.github.com/repos/ardock/cascade/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/ardock/cascade/issues/1/comments","events_url":"https://api.github.com/repos/ardock/cascade/issues/1/events","html_url":"https://github.com/ardock/cascade/issues/1","id":144168849,"number":1,"title":"How to set the exec-permission to your scripts in git","user":{"login":"ardock","id":1142360,"avatar_url":"https://avatars.githubusercontent.com/u/1142360?v=3","gravatar_id":"","url":"https://api.github.com/users/ardock","html_url":"https://github.com/ardock","followers_url":"https://api.github.com/users/ardock/followers","following_url":"https://api.github.com/users/ardock/following{/other_user}","gists_url":"https://api.github.com/users/ardock/gists{/gist_id}","starred_url":"https://api.github.com/users/ardock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ardock/subscriptions","organizations_url":"https://api.github.com/users/ardock/orgs","repos_url":"https://api.github.com/users/ardock/repos","events_url":"https://api.github.com/users/ardock/events{/privacy}","received_events_url":"https://api.github.com/users/ardock/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-29T06:22:07Z","updated_at":"2016-03-29T06:22:07Z","closed_at":null,"body":"First of all you can check your permissions using:\r\n`git ls-tree HEAD`\r\n\r\nIf you set the exec-permission and commit and push the changes,\r\n`before_install: chmod +x gradlew` is no longer necessary.\r\n\r\nIn this case, execute the next commands, commit and push:\r\n```\r\ncd ReactiveCascade\r\nchmod +x gradlew\r\nchmod +x execute\r\nchmod +x scripts/acib\r\ngit update-index --chmod=+x gradlew\r\ngit update-index --chmod=+x execute\r\ngit update-index --chmod=+x scripts/acib\r\n```\r\n\r\nYou can check the new permissions using:\r\n`git ls-tree HEAD`\r\n\r\nSee [explanation](http://stackoverflow.com/a/33820642/1009132) and a [sample](https://github.com/ardock/cascade/commit/341fda6c278cd104b393a13cc07d2919e87fec5d)."}}