[FGS] Permission inside setenv.sh

Pena Kupen kupen at wippies.fi
Fri Aug 14 00:53:58 EST 2009


Thank's.

Then it's working ok.

--
pk

Normand Savard <nsavard at mapgears.com> kirjoitti: 
> Pena 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
> 


-- 
Saunalahti DataPaketti - tilaa nyt, saat 2 kk veloituksetta ja Nettitikun kaupan päälle!
http://saunalahti.fi/gsm/gsmdatapaketti.php 



More information about the Foss-gis-suite mailing list