Skip to content
This repository has been archived by the owner on May 3, 2022. It is now read-only.

duffle import on Windows cannot import to drives other than user profile #458

Closed
itowlson opened this issue Nov 19, 2018 · 1 comment · Fixed by #460
Closed

duffle import on Windows cannot import to drives other than user profile #458

itowlson opened this issue Nov 19, 2018 · 1 comment · Fixed by #460
Assignees

Comments

@itowlson
Copy link
Contributor

D:\temp\kubectl\itowlsonhelloplusplus> duffle import D:\temp\kubectl\duffle-exports\four-nginxes\itowlsonhelloplusplus-2542c8ea53eed638ec23971c1d5d505efc01d184.tgz -d D:\temp\kubectl\duffle-imports\ --insecure
Error: move failed: rename C:\Users\itowlson\AppData\Local\Temp\duffle-import671266191 D:\temp\kubectl\duffle-imports\itowlsonhelloplusplus: The system cannot move the file to a different disk drive.
@michelleN
Copy link
Contributor

michelleN commented Nov 19, 2018

This is happening because in the import code, we are first unpacking the bundle in a temp dir, validating the bundle and and then copying it over to the destination in a directory that is the name of the bundle. We can instead unpack the bundle at the destination directory and validate it there.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants