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

Enable renaming paths to final paths on different partition #145

Open
samuell opened this issue Oct 13, 2021 · 0 comments
Open

Enable renaming paths to final paths on different partition #145

samuell opened this issue Oct 13, 2021 · 0 comments

Comments

@samuell
Copy link
Member

samuell commented Oct 13, 2021

Now, if writing to paths that are on a different partition, for example /tmp/foo, if / is on a different hard drive partition than your /home/ folder where you might execute the workflow, the os.Rename() call in FinalizePaths() will fail with "invalid cross-device link".

To come around this, we could check for that specific error and if so, do a proper copy and remove instead.

Some links with pointers and/or ideas:

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

No branches or pull requests

1 participant