# GRASS write permissions in Windows hosted docker environments #702
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.
Issue:
Somewhere between the FIM3 and FIM4 transition and my own transition to distrod following the de-FOSS-ing of docker desktop and transition away from virtualbox, the GRASS environment broke and will no longer successfully execute. Branch 0 fails to process with mapset permission errors, the root of which stem from the r_grow_distance function.

The r_grow_distance function is used to generate "proximity" (Euclidean distance) and allocation (Euclidean allocation) rasters using the grass environment. Attempts to circumvent permissions (windows side explicit permission settings, reinstallation, writing to container internal folder) did not work. I was unable to identify a specific cause for this error, but this SE was about as relevant an issue as I could find but did not provide a workaround. Since the use of GRASS is limited to only a few locations, I transitioned all occurrences of r_grow_distance to their WhiteboxTools equivalents.
Changes to files and outputs
Walked thought pipenv install procedure with Rob. For posterity, from within docker:
cd / pipenv uninstall grass-sessions pipenv install whitebox cp /Pipfile /foss_fim/Pipfile cp /Pipfile.lock /foss_fim/Pipfile.lock
Testing
Tested using hucs '08040101 11010009 11090204 11110202', subtracting the rem generated using this image on my own hardware with the equivalent rem from OWP. You can pull mine in egress-free from https://waterduck.ddns.net:9000/wbt_validation/{huc8}/branches/0/…
Edge cases and errors introduced