Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bin/cake not executable after deploy #17

Closed
steefaan opened this issue Sep 3, 2015 · 3 comments
Closed

bin/cake not executable after deploy #17

steefaan opened this issue Sep 3, 2015 · 3 comments

Comments

@steefaan
Copy link
Contributor

steefaan commented Sep 3, 2015

Hey @jadb, unfortunately the bin/cake file isn't an executable after deploy. This will trigger an error if I do deploy:migrations:migrate dierectly after deploy.

/usr/bin/env: bin/cake
Permission denied
@jadb
Copy link
Owner

jadb commented Sep 3, 2015

Hmm, never encountered this issue before. Not sure how to best replicate it, any ideas/suggestions?

@steefaan
Copy link
Contributor Author

steefaan commented Sep 3, 2015

I could solve this issue. If you change the permissions of bin/cake on your local system and push the changes to github you will receive the correct permissions when you pull from github. Maybe it's still a good idea to change the permissions with capistrano to cover this issue.

@jadb
Copy link
Owner

jadb commented Jan 29, 2016

I am closing this as I tried replicating over and over but no success.

As long as bin/cake permissions are correctly set in the repo (doesn't matter about local), the server will be able to run it.

@jadb jadb closed this as completed Jan 29, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants