fix: File Permission Error in Windows #5301
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Please ignore the commits...they're kind of messy from the other pr I made. As you can see only one file is changed in this pr.
##Description
When opening the local builder in a dev container via VSCode and Docker, several errors arise. This is due to file permissions.
Here's a list of what's going on (according to chatGPT):
1.Fixes file permission issues on Windows using postCreateCommand
2.Mounts project folder with consistency=cached for better performance
##Steps for reproduction
Open in dev container
Error
##Before requesting a review
It works on my Windows PC