-
Notifications
You must be signed in to change notification settings - Fork 3k
Falling back to hard link on Windows in linkDotEnvFile #49790
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
Conversation
Eng-Fouad
commented
Aug 29, 2025
- Fixes Dev mode fails to link .env files due to missing permissions on Windows #49785
@Eng-Fouad I pushed an additional commit to your branch to move to SmallRye Common. Could you check if it's fine for you? |
This comment has been minimized.
This comment has been minimized.
I tested it locally and it is working as expected. Thanks. |
There is already an API in Java for hard-linking and it works fine: Files.createLink(link, dotEnvPath); I think we can use it instead of the custom |
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the research work!
Status for workflow
|