[GRASS-dev] [GRASS GIS] #1983: wingrass: permission denied to open grass70.py

#1983: wingrass: permission denied to open grass70.py
---------------------------------+------------------------------------------
Reporter: mmetz | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 7.0.0
Component: Installation | Version: svn-trunk
Keywords: wingrass, installer | Platform: MSWindows 7
      Cpu: All |
---------------------------------+------------------------------------------
On some Windows 7 systems, regular users may not be allowed to open or
execute grass70.py. The NSIS installer should set file permissions with
the !AccessControl plug-in:

{{{
# Make the file
# "%GISBASE%\etc\grass@GRASS_VERSION_MAJOR@@GRASS_VERSION_MINOR@.py"
# readable and executable by all users
   AccessControl::GrantOnFile \
     "%GISBASE%\etc\grass@GRASS_VERSION_MAJOR@@GRASS_VERSION_MINOR@.py"
"(BU)" "GenericRead + GenericExecute"
}}}

This applies probably also to all files in "%GISBASE%\bin".

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/1983&gt;
GRASS GIS <http://grass.osgeo.org>

#1983: wingrass: permission denied to open grass70.py
---------------------------------+------------------------------------------
Reporter: mmetz | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 7.0.0
Component: Installation | Version: svn-trunk
Keywords: wingrass, installer | Platform: MSWindows 7
      Cpu: All |
---------------------------------+------------------------------------------

Comment(by hamish):

Hi,

I don't mean to hijack the ticket, but while I remember, I notice some
NSIS installers have a "Show details" button hiding the business while
they expand and install 1000s of tiny files too fast to read. maybe we
could get us one of those.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/1983#comment:1&gt;
GRASS GIS <http://grass.osgeo.org>

#1983: wingrass: permission denied to open grass70.py
---------------------------------+------------------------------------------
Reporter: mmetz | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 7.0.0
Component: Installation | Version: svn-trunk
Keywords: wingrass, installer | Platform: MSWindows 7
      Cpu: All |
---------------------------------+------------------------------------------

Comment(by hellik):

Replying to [ticket:1983 mmetz]:
> The NSIS installer should set file permissions with the !AccessControl
plug-in:

infos about the AccessControl plug-in:

http://nsis.sourceforge.net/AccessControl_plug-in

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/1983#comment:2&gt;
GRASS GIS <http://grass.osgeo.org>

#1983: wingrass: permission denied to open grass70.py
---------------------------------+------------------------------------------
Reporter: mmetz | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 7.0.0
Component: Installation | Version: svn-trunk
Keywords: wingrass, installer | Platform: MSWindows 7
      Cpu: All |
---------------------------------+------------------------------------------

Comment(by marisn):

Today I got hit by the same error on XP machines with SVN nightly
WinGRASS-7.0.svn-r59013M-869

As I had to start a lab work, I fixed all machines by granting "execute"
rights on whole GRASS folder in "Program Files" (with all child files and
folders!) and thus don't have exact error message any more but it was just
something printed in the terminal like "Permission denied, error 13"

Afterwards issue was fixed, still every time GRASS 7 was thinking that it
has been lunched for the first time and asked to set up GISDBASE =>
somewhere else some permission is still missing? (Just a question if
somebody has solved it)

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1983#comment:3&gt;
GRASS GIS <http://grass.osgeo.org>

#1983: wingrass: permission denied to open grass70.py
---------------------------------+------------------------------------------
Reporter: mmetz | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 7.0.0
Component: Installation | Version: svn-trunk
Keywords: wingrass, installer | Platform: MSWindows 7
      Cpu: All |
---------------------------------+------------------------------------------

Comment(by wenzeslaus):

Continued in #2290. Please close afterwards in case that this is really a
duplicate.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1983#comment:4&gt;
GRASS GIS <http://grass.osgeo.org>

#1983: wingrass: permission denied to open grass70.py
---------------------------+------------------------------------------------
  Reporter: mmetz | Owner: grass-dev@…
      Type: defect | Status: closed
  Priority: normal | Milestone: 7.0.0
Component: Installation | Version: svn-trunk
Resolution: fixed | Keywords: wingrass, installer
  Platform: MSWindows 7 | Cpu: All
---------------------------+------------------------------------------------
Changes (by hellik):

  * status: new => closed
  * resolution: => fixed

Comment:

Replying to [comment:4 wenzeslaus]:
> Continued in #2290. Please close afterwards in case that this is really
a duplicate.

closing ticket as duplication of #2290 and solved by r61454 and r61401.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1983#comment:5&gt;
GRASS GIS <http://grass.osgeo.org>