cli icon indicating copy to clipboard operation
cli copied to clipboard

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

Open wcn00 opened this issue 5 years ago • 1 comments

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 avatar Jul 17 '20 22:07 wcn00

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

wcn00 avatar Jul 18 '20 14:07 wcn00