Looking at the security permissions for grass70.py , I see that there are
only security permissions listed for administrative users ( i.e. SYSTEM,
Administrators Group) There are no security policies for ordinary users
listed . Comparing to other programs, it looks like there should be read
and read and execute permissions for standard Users.
Downloaded r60231-962 , and had same problem. Manually set grass70.py
Windows security settings to Add USERS read and read/execute rights and
GRASS 7.0 started normally. The fix appears to be setting the correct
security settings for USERS for this file upon install.
Replying to [comment:3 dnewcomb]:
> Downloaded r60231-962 , and had same problem. Manually set grass70.py
Windows security settings to Add USERS read and read/execute rights and
GRASS 7.0 started normally. The fix appears to be setting the correct
security settings for USERS for this file upon install.
are you installing winGRASS7-standalone installer with admin rights (e.g.
right click on the standalone installer and execute as admin)?
* priority: normal => critical
* component: Default => Installation
Comment:
I installed Wingrass 7.0 nightly on Vista launching the installer with
"Run as Admin", still on the ordinary user account I got hit by this bug.
(For a strange reason the grass70.py file was lacking permissions for
Users account.)
Rising its priority as ordinary user might not have Admin rights and thus
installer should create a working installation at the first place not
requiring manual adjustment of file permissions later.
Replying to [comment:6 marisn]:
> I installed Wingrass 7.0 nightly on Vista launching the installer with
"Run as Admin", still on the ordinary user account I got hit by this bug.
I wouldn't say that this is a winGRASS '''bug''', it's a window operating
system and a sytem right issue that can't be solved easily; as there are
quite a lot of different right managements out there in the windows world.
so I would class it rather an enhancement than a defect.
#2290: Wrong file permissions for grassXY.py on Windows (was: Grass not starting)
--------------------------+-------------------------------------------------
Reporter: dnewcomb | Owner: grass-dev@…
Type: defect | Status: new
Priority: critical | Milestone: 7.0.0
Component: Installation | Version: svn-releasebranch70
Keywords: | Platform: MSWindows 7
Cpu: x86-64 |
--------------------------+-------------------------------------------------
Changes (by marisn):
* type: enhancement => defect
Comment:
Replying to [comment:7 hellik]:
> I wouldn't say that this is a winGRASS '''bug''', it's a window
operating system and a sytem right issue that can't be solved easily; as
there are quite a lot of different right managements out there in the
windows world. so I would class it rather an enhancement than a defect.
It is. In *NIX world that equals shipping a package (RPM, deb) with
missing go+R permissions. This is not a limitation of Windows. This is an
error in Wingrass installer not setting correct permissions on files.
Changed the summary to better reflect the scope of this issue.
#2290: Wrong file permissions for grassXY.py on Windows (was: Grass not starting)
--------------------------+-------------------------------------------------
Reporter: dnewcomb | Owner: grass-dev@…
Type: defect | Status: new
Priority: critical | Milestone: 7.0.0
Component: Installation | Version: svn-releasebranch70
Keywords: | Platform: MSWindows 7
Cpu: x86-64 |
--------------------------+-------------------------------------------------
Comment(by hellik):
Replying to [comment:8 marisn]:
> Replying to [comment:7 hellik]:
> > I wouldn't say that this is a winGRASS '''bug''', it's a window
operating system and a sytem right issue that can't be solved easily; as
there are quite a lot of different right managements out there in the
windows world. so I would class it rather an enhancement than a defect.
>
> It is. In *NIX world that equals shipping a package (RPM, deb) with
missing go+R permissions. This is not a limitation of Windows. This is an
error in Wingrass installer not setting correct permissions on files.
Changed the summary to better reflect the scope of this issue.
>
> I am not familiar with NSIS and Wingrass, but as grass70.py file was
affected, I would look on some of the magic touching that particular file,
i.e.:
> https://trac.osgeo.org/grass/browser/grass/trunk/mswindows/GRASS-
Installer.nsi.tmpl#L884
it could be that changing some content in the file by L884 etc. may change
the permission rights on some windows systems.
#2290: Wrong file permissions for grassXY.py on Windows (was: Grass not starting)
--------------------------+-------------------------------------------------
Reporter: dnewcomb | Owner: grass-dev@…
Type: defect | Status: new
Priority: critical | Milestone: 7.0.0
Component: Installation | Version: svn-releasebranch70
Keywords: installation | Platform: MSWindows 7
Cpu: x86-64 |
--------------------------+-------------------------------------------------
Comment(by hellik):
Replying to [comment:11 hellik]:
> Replying to [comment:10 wenzeslaus]:
> > Possible duplicate of #1983. Please continue discussion here.
>
> around line [https://trac.osgeo.org/grass/browser/grass/trunk/mswindows
/GRASS-Installer.nsi.tmpl#L894 L894] may be following should be added:
#2290: Wrong file permissions for grassXY.py on Windows (was: Grass not starting)
--------------------------+-------------------------------------------------
Reporter: dnewcomb | Owner: grass-dev@…
Type: defect | Status: new
Priority: critical | Milestone: 7.0.0
Component: Installation | Version: svn-releasebranch70
Keywords: installation | Platform: MSWindows 7
Cpu: x86-64 |
--------------------------+-------------------------------------------------
Comment(by martinl):
Replying to [comment:11 hellik]:
> around line [https://trac.osgeo.org/grass/browser/grass/trunk/mswindows
/GRASS-Installer.nsi.tmpl#L894 L894] may be following should be added:
>
{{{
> AccessControl::SetOnFile
"$INSTDIR\etc\grass@GRASS_VERSION_MAJOR@@GRASS_VERSION_MINOR@.py" "(BU)"
"Execute"
}}}
done in r61401. Please check the next build 2014-07-26.
#2290: Wrong file permissions for grassXY.py on Windows (was: Grass not starting)
--------------------------+-------------------------------------------------
Reporter: dnewcomb | Owner: grass-dev@…
Type: defect | Status: new
Priority: critical | Milestone: 7.0.0
Component: Installation | Version: svn-releasebranch70
Keywords: installation | Platform: MSWindows 7
Cpu: x86-64 |
--------------------------+-------------------------------------------------
Comment(by hellik):
Replying to [comment:13 martinl]:
> Replying to [comment:11 hellik]:
>
> > around line
[https://trac.osgeo.org/grass/browser/grass/trunk/mswindows/GRASS-
Installer.nsi.tmpl#L894 L894] may be following should be added:
> >
> {{{
> > AccessControl::SetOnFile
"$INSTDIR\etc\grass@GRASS_VERSION_MAJOR@@GRASS_VERSION_MINOR@.py" "(BU)"
"Execute"
> }}}
>
> done in r61401. Please check the next build 2014-07-26.
#2290: Wrong file permissions for grassXY.py on Windows (was: Grass not starting)
--------------------------+-------------------------------------------------
Reporter: dnewcomb | Owner: grass-dev@…
Type: defect | Status: new
Priority: critical | Milestone: 7.0.0
Component: Installation | Version: svn-releasebranch70
Keywords: installation | Platform: MSWindows 7
Cpu: x86-64 |
--------------------------+-------------------------------------------------
Comment(by marisn):
Replying to [comment:16 hellik]:
>
> testing on other MS windows platforms very welcome!!! no chance here on
my side to test with further windows boxes ( win 7, 8) at the moment.
Tested with Vista - issue is fixed. Can't test on XP at the moment.
#2290: Wrong file permissions for grassXY.py on Windows (was: Grass not starting)
--------------------------+-------------------------------------------------
Reporter: dnewcomb | Owner: grass-dev@…
Type: defect | Status: new
Priority: critical | Milestone: 7.0.0
Component: Installation | Version: svn-releasebranch70
Keywords: installation | Platform: MSWindows 7
Cpu: x86-64 |
--------------------------+-------------------------------------------------
Comment(by martinl):
Replying to [comment:17 marisn]:
> Replying to [comment:16 hellik]:
> >
> > testing on other MS windows platforms very welcome!!! no chance here
on my side to test with further windows boxes ( win 7, 8) at the moment.
>
> Tested with Vista - issue is fixed. Can't test on XP at the moment.
>
> Needs a backport to 7.0 ASAP.