#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".
#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.
#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)