[Mapserver-users] Mapserver permissions? {Scanned}

Siki Zoltan siki at agt.bme.hu
Tue Apr 20 16:27:21 PDT 2004


Hi,

The httpd starts the mapserver program as the default apache user,
its name and group is usually apache:apache. You can find it in the
httpd.conf file.
The apache user must have execute permisson on mapserver program
for example
           owner  group
-rwx------ apache apache or
-rwxr-x--- anybody apache or
-rwxr-xr-x anybody anygroup

on the tmp directory apache must have write permission
-rwx------ apache apache or
-rwxrwx--- anybody apache or
-rwxrwxrwx anybody anygroup

Bye
Zoltan

On Tue, 20 Apr 2004, Mark Balman wrote:

> Hi List
> 
> Having got a demo working nicely on Mandrake 9.2, Apache 2, PHP 4.3.4,
> Mapserver 4.01, I am trying to get this uploaded onto a host. Could
> someone help explain the file permissions as I am getting nowhere fast!
> 
> What does the mapserv executable have to be? I have this running as 777
> on my local development machine in /var/www/cgi-bin and it works fine.
> Does mapserver have to be world writable? If I change these on my local
> machine then I get file not found message or a dialog box asking to
> download..?
> 
> What does the /tmp directory have to be? I also have this as 777.. Also
> works fine
> 
> So I am a bit stumped, I do understand that there are several security
> issues to note..
> 
> Any help would be gratefully appreciated, I have read and scanned the
> mailing lists all to no avail!
> 
> Many thanks
> 
> Mark
> 




More information about the MapServer-users mailing list