Skip to content

Conversation

@Nusiq
Copy link
Member

@Nusiq Nusiq commented Dec 2, 2025

This is a hotfix for Regolith failing to copy junctions.

Regolith 1.6 was updated to Go 1.25 from Go 1.18. Go 1.23 changed the behavior of the os.FileInfo. Now the the junctions no longer have the os.ModeSymlink bit set. This change in behavior caused errors when trying to copy junctions using the github.com/otiai10/copy lirbary (that provides a deep directory copy functionallity).

The fix is a temporary solution, where we use our own, updated version of the library to restore the old behavior, form before Go 1.23.

Nusiq and others added 2 commits December 2, 2025 13:36
…orrectly, which prevented it from setting up tmp files in some cases on Windows.
@Nusiq Nusiq merged commit faecfea into main Dec 2, 2025
2 checks passed
@Nusiq Nusiq deleted the fix-junction-copy branch December 2, 2025 12:51
@Nusiq
Copy link
Member Author

Nusiq commented Dec 2, 2025

I created a PR for the original repository here otiai10/copy#176

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

Successfully merging this pull request may close these issues.

2 participants