-
Notifications
You must be signed in to change notification settings - Fork 66
Workaround that solves permission issues for rebuilds #871
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
Workaround that solves permission issues for rebuilds #871
Conversation
|
Instance
|
|
Instance
|
|
Instance
|
|
Interesting how that dances around the issue... It almost feels like something isn't being synced fast enough, leading to the error we've seen in #556. By pre-creating directories we essentially allow for more time to "sync", and then the problem doesn't present itself (or at the very least makes it less likely). Good that we found a workaround for it. Can we verify this somehow, maybe in a hook that's triggered when |
|
PR merged! Moved |
1 similar comment
|
PR merged! Moved |
|
PR merged! Moved |
Solves #556, tested in #866.
It works around the issue by removing the original directory, then creating a new one with the first-level subdirs (e.g.
bin,lib,easybuild, etc), and it makes sure that EB is then run with--try-amend=keeppreviousinstall=Trueto prevent EB from wiping it again (as it would otherwise run into the same issue again).