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

flogo cli: If /tmp and the project dir are on different linux file systems the copy/rename step fails #115

Open
wcn00 opened this issue Jul 17, 2020 · 1 comment

Comments

@wcn00
Copy link

wcn00 commented Jul 17, 2020

With this sort of error:
Error renaming executable: rename /tmp/flogo251123746/TownCrier/bin/TownCrier /local/home/wcn00/go/src/github.com/wcn00/pulsartest/ptest/TownCrier: invalid cross-device link

In this case the /tmp and /local file systems are physically separate so a rename syscall will not work. I think this error should be intercepted and a copy / delete approached used if it fails.

@wcn00
Copy link
Author

wcn00 commented Jul 18, 2020

A template for a fix...
commands.go.diff.TXT

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

1 participant