<div dir="ltr"><br><br>On Tue, Feb 5, 2019 at 11:54 AM Luí­s Moreira de Sousa <<a href="mailto:luis.de.sousa@protonmail.ch">luis.de.sousa@protonmail.ch</a>> wrote:<br>><br>> Dear all,<br>><br>> I am using GRASS in an HPC platform where libraries are managed with modules [0]. Recently I made GRASS 7.6 available as a shared module. This involved copying the compiled folder to a shared location and then creating a modulefile [1] (which essentially sets the correct PATH environment variable). I am able to load the GRASS module and run it; however, when other users try to do the same they get this error:<br><div><br></div><div>Are other users trying to work in your mapset? This is not allowed, a user must be owner of the mapset. Users can read data from other mapsets owned by other users, but the current mapset must be owned by the current user.</div><div><br></div><div>A new mapset can be created on startup with</div><div>grass76 -c /path/to/new_mapset</div><div><br></div><div>this will create the folder "new_mapset" and populate it with some basic files neede to recognize this folder as a GRASS mapset. Now you can read data from already existing mapsets in the same GRASS database and location.</div><div><br></div><div>HTH,</div><div><br></div><div>Markus M</div><div><br></div><div>></div>> $ grass76<br>> Cleaning up temporary files...<br>> Traceback (most recent call last):<br>>   File "/cm/shared/apps/WUR/ESG/modules/grass/bin/grass76", line 2209, in <module><br>>     main()<br>>   File "/cm/shared/apps/WUR/ESG/modules/grass/bin/grass76", line 2087, in main<br>>     clean_temp()<br>>   File "/cm/shared/apps/WUR/ESG/modules/grass/bin/grass76", line 1784, in clean_temp<br>>     call([gpath("etc", "clean_temp")], stdout=nul)<br>>   File "/cm/shared/apps/WUR/ESG/modules/grass/bin/grass76", line 247, in call<br>>     return subprocess.call(cmd, **kwargs)<br>>   File "/usr/lib64/python2.7/subprocess.py", line 524, in call<br>>     return Popen(*popenargs, **kwargs).wait()<br>>   File "/usr/lib64/python2.7/subprocess.py", line 711, in __init__<br>>     errread, errwrite)<br>>   File "/usr/lib64/python2.7/subprocess.py", line 1327, in _execute_child<br>>     raise child_exception<br>> OSError: [Errno 13] Permission denied<br>><br>> Naturally, GRASS is unable to access some asset it needs, the question is what? All users have read and execute permissions on the shared module folders and files. When it is launched, is GRASS trying to write somewhere? Which other assets GRASS needs to read when it is launched?<br>><br>> Thank you.<br>><br>> [0] <a href="http://modules.sourceforge.net/">http://modules.sourceforge.net/</a><br>> [1] <a href="https://modules.readthedocs.io/en/latest/modulefile.html">https://modules.readthedocs.io/en/latest/modulefile.html</a><br>> --<br>> Luís Moreira de Sousa<br>> RingID: ring:7ca91d83f4f9dec82fec9f1144b8e5c1ef2a110c<br>> URL: <a href="https://ldesousa.github.io">https://ldesousa.github.io</a><br>><br>> Sent with ProtonMail Secure Email.<br>><br>> _______________________________________________<br>> grass-user mailing list<br>> <a href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a><br>> <a href="https://lists.osgeo.org/mailman/listinfo/grass-user">https://lists.osgeo.org/mailman/listinfo/grass-user</a></div>