浏览代码

edit of line 761 in GRASS-Installer.nsi.tmpl to change form BU Execute to S-1-5-32-545 Generic User Read and Generic User Execute (#2068)

winGRASS start enabled now also for normal users in Windows OS.
dnewcomb 3 年之前
父节点
当前提交
011907c4ec
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      mswindows/GRASS-Installer.nsi.tmpl

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

@@ -763,7 +763,8 @@ Section "GRASS" SecGRASS
 	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"                 
+	;replace BU with numeric group name for local users
+        AccessControl::SetOnFile "$INSTDIR\etc\grass@GRASS_VERSION_MAJOR@@GRASS_VERSION_MINOR@.py" "(S-1-5-32-545)" "GenericRead + GenericExecute"                 
 SectionEnd
 
 ;--------------------------------------------------------------------------