Opened 12 years ago
Closed 10 years ago
#1983 closed defect (fixed)
wingrass: permission denied to open grass70.py
Reported by: | mmetz | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | 7.0.0 |
Component: | Installation | Version: | svn-trunk |
Keywords: | wingrass, installer | Cc: | |
CPU: | All | Platform: | MSWindows 7 |
Description
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".
Change History (5)
comment:1 by , 12 years ago
comment:2 by , 12 years ago
Replying to mmetz:
The NSIS installer should set file permissions with the AccessControl plug-in:
infos about the AccessControl plug-in:
comment:3 by , 11 years ago
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)
follow-up: 5 comment:4 by , 10 years ago
Continued in #2290. Please close afterwards in case that this is really a duplicate.
comment:5 by , 10 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Replying to 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.
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.