Browse Source

winGRASS: wrong file permissions for grassXY.py on Windows (https://trac.osgeo.org/grass/ticket/2290)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@61401 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 10 năm trước cách đây
mục cha
commit
e8a488e92e
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      mswindows/GRASS-Installer.nsi.tmpl

+ 2 - 1
mswindows/GRASS-Installer.nsi.tmpl

@@ -891,7 +891,8 @@ Section "GRASS" SecGRASS
 	Push 'config_projshare = "/c/OSGeo4W/share/proj"' ; string that a line must begin with *WS Sensitive*
 	Push 'config_projshare = "$INSTDIR\share\proj"' ; string to replace whole line with
 	Call ReplaceLineStr
-                 
+
+        AccessControl::SetOnFile "$INSTDIR\etc\grass@GRASS_VERSION_MAJOR@@GRASS_VERSION_MINOR@.py" "(BU)" "Execute"                 
 SectionEnd
 
 ;--------------------------------------------------------------------------