[GRASS-dev] [GRASS GIS] #3462: Allow setting environment variables in grass startup script

GRASS GIS trac at osgeo.org
Tue Dec 19 03:58:00 PST 2017


#3462: Allow setting environment variables in grass startup script
--------------------------+-------------------------
  Reporter:  mankoff      |      Owner:  grass-dev@…
      Type:  defect       |     Status:  new
  Priority:  major        |  Milestone:  7.2.3
 Component:  Startup      |    Version:  7.2.2
Resolution:               |   Keywords:
       CPU:  Unspecified  |   Platform:  MacOSX
--------------------------+-------------------------

Comment (by mankoff):

 OK. This bug is related to OS X "SIP" and is discussed, for example, in
 these two threads:

 1) http://osgeo-org.1560.x6.nabble.com/Mac-El-Capitan-and-GRASS-
 td5230885.html and

 2) https://www.mail-archive.com/grass-user@lists.osgeo.org/msg31571.html

 For some reason, all of this "security" can easily be bypassed if the
 GRASS startup script does not explicitly block `export` statements as in
 the attached patch.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3462#comment:13>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list