|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
Permission inside setenv.shHello again,
fgs environment installed as root on port 80 with umask 0022 All seems to work ok, but when running $FGS_HOME/setenv.sh different user (postgres on my case) I get error -bash: /opt/fgs/lib/python2.6/site-packages/mapscript.pth: Permission denied * FGS runtime ready in '/opt/fgs', use fgs command. rights on file are -rw-r--r-- 1 root root 27 Aug 13 16:19 mapscript.pth -rw-r--r-- 1 root root 119 May 26 00:11 README Maybe should be also exec? -- pk -- Saunalahti DataPaketti - tilaa nyt, saat 2 kk veloituksetta ja Nettitikun kaupan päälle! http://saunalahti.fi/gsm/gsmdatapaketti.php _______________________________________________ Foss-gis-suite mailing list Foss-gis-suite@... http://lists.maptools.org/mailman/listinfo/foss-gis-suite |
|
|
Re: Permission inside setenv.shPena Kupen wrote:
> Hello again, > > fgs environment installed as root on port 80 with umask 0022 > All seems to work ok, but when running $FGS_HOME/setenv.sh different user (postgres on my case) I get error > -bash: /opt/fgs/lib/python2.6/site-packages/mapscript.pth: Permission denied > * FGS runtime ready in '/opt/fgs', use fgs command. > > rights on file are > -rw-r--r-- 1 root root 27 Aug 13 16:19 mapscript.pth > -rw-r--r-- 1 root root 119 May 26 00:11 README > > Maybe should be also exec? > > > Pena, If you install it as root you have to set the environment or "fgs start" as root. So you have to do "sudo su -" then ". setenv.sh" and whatever commands you want after. Norm _______________________________________________ Foss-gis-suite mailing list Foss-gis-suite@... http://lists.maptools.org/mailman/listinfo/foss-gis-suite |
|
|
|
| Free embeddable forum powered by Nabble | Forum Help |