<div dir="ltr"><div>[RESOLVED]</div><div><br></div><div>Simply the docker machine was deployed with changes I was unaware of. Sorry for the noise and thank you so much for the brainstorming.<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Sep 30, 2021 at 2:34 PM Margherita Di Leo <<a href="mailto:diregola@gmail.com">diregola@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr">Hi Moritz,<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Sep 30, 2021 at 10:49 AM Moritz Lennert <<a href="mailto:mlennert@club.worldonline.be" target="_blank">mlennert@club.worldonline.be</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Madi,<br>
<br>
Am 30.09.2021 09:46 schrieb Margherita Di Leo:<br>
><br>
>> PermissionError: [Errno 13] Permission denied: '/.grass7'<br>
> <br>
> What does this error message mean? Why is it trying to write in the<br>
> /.grass7 folder ?<br>
<br>
Whenever you launch GRASS GIS with the grass startup script, it writes <br>
the chosen Gisdbase/Location/Mapset info into .grass7/rc. If you launch <br>
GRASS GIS for the first time, it first creates the directory .grass7 <br>
which is the part that fails with a permission error.<br>
<br></blockquote><div>But isn't .grass7/rc folder supposed to be written in the home directory? In my docker image I set the user and a home directory is created for it...<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
I'm no Docker expert at all, but I think you have to explicitly run the <br>
container with parameters indicating the devices one can access from <br>
within.<br></blockquote><div><br></div><div>I'm trying to figure... I set a workdir and give full permissions to the user to it, but still the .grass7 folder is not written there nor in the home. Is there a way to "force" the grass configuration files to be written somewhere else? <br></div><div><br></div><div>Thanks,<br></div><br clear="all"></div><br>-- <br><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><font color="#666666">Margherita Di Leo</font></div></div></div></div></div></div></div></div></div></div>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><font color="#666666">Margherita Di Leo</font></div></div></div></div></div></div></div></div></div>