SELinux and Mapserver

Sven Schulz Sven.Schulz-2 at RUB.DE
Thu Oct 26 04:09:29 PDT 2006


Hi B,
as far as I know, both path (i.e. any folder leading to mapfile) and 
mapfile itself must have permission for www-access (owner wwwrun, group 
www).
Had to deal with similar failure-message in the past and solved it that 
way, but do not know if it´s truely your problem.
greets, Sven

B Tuttle schrieb:
> Hi all-
> I'm trying to get mapserver running on a Red Hat Enterprise 4 system
> and company policy requires us to use SELinux. Presently it is
> allowing Apache to do it's thing and it allows mapserv to run as well.
> However, it is keeping mapserv from searching the filesystem for the
> map file. The IT people here are trying to figure out what the
> appropriate way to fix this would be, but I was wondering if anyone
> might have dealt with this already and have any tips or suggestions
> for making mapserver and SELinux play nice, besides turning off
> SELinux.
>
> FYI the error from mapserv is:
> msLoadMap(): Unable to access file. (/mnt/anchor1/eogmaps/data/dmsp1.map)
>
> I'm told by the IT people that mapserv is being stopped being
> forbidden permission to search at /mnt
>



More information about the MapServer-users mailing list