[Mapserver-users] map file permission denied

Ed McNierney ed at topozone.com
Tue Oct 28 07:36:07 PST 2003


Nick -

Congrats!  Nice job.  It's pretty frustrating to work through those problems where the error message says "look over here!" and the problem's "over there!"

	- Ed

Ed McNierney
President and Chief Mapmaker
TopoZone.com / Maps a la carte, Inc.
73 Princeton Street, Suite 305
North Chelmsford, MA  01863
ed at topozone.com
(978) 251-4242 

-----Original Message-----
From: Nick Petersen-Bergeron [mailto:bergeron at zedxinc.com]
Sent: Tuesday, October 28, 2003 10:32 AM
To: Ed McNierney; mapserver-users at lists.gis.umn.edu
Subject: RE: [Mapserver-users] map file permission denied


Well, apparently both image and points are some kind of reserved words that 
you shouldn't use for layer names.  I changed both of them, and now the map 
opens fine.  Thanks for the help.

Nick


At 04:53 PM 10/27/2003 -0500, Ed McNierney wrote:
>Nick -
>
>And what output does this command produce?
>
>         ls -l /home/httpd/html/map/yield.map
>
>         - Ed
>
>
>Ed McNierney
>President and Chief Mapmaker
>TopoZone.com
>ed at topozone.com
>
>
>-----Original Message-----
>From: Nick Petersen-Bergeron [mailto:bergeron at zedxinc.com]
>Sent: Monday, October 27, 2003 4:21 PM
>To: mapserver-users at lists.gis.umn.edu
>Subject: [Mapserver-users] map file permission denied
>
>I'm trying to open a basic mapfile, and I'm continually getting a
>mapfile
>permission denied error.  The permissions on the mapfile are set to
>777.  Here is the mapfile:
>
>#
># Start of map file
>#
>NAME YIELD
>STATUS ON
>SIZE 150 150
>EXTENT -91.1644 34.6098 -91.1306 34.6399
>UNITS DD
>SHAPEPATH "./"
>IMAGECOLOR 255 255 255
>
>
>##
>## Start of web interface definition
>##
>WEB
>    IMAGEPATH "/home/httpd/html/dy_images/"
>    IMAGEURL "/dy_images/"
>END
>
>SYMBOL
>    NAME "circle"
>    TYPE ellipse
>    FILLED true
>    POINTS
>      1 1
>    END
>END
>
>LAYER
>          NAME image
>          TYPE raster
>          DATA ""
>          STATUS ON
>          TEMPLATE void
>          CLASS
>                  NAME "img"
>          END
>END
>
>
>
>#
>#LAYER
>#       NAME points
>#       TYPE point
>#       DATA ""
>#       STATUS ON
>#       TEMPLATE void
>#       CLASS
>#               NAME "dots"
>#               SIZE 5
>#               COLOR 255 0 0
>#               SYMBOL 'circle'
>#       END
>#END
>
>END # Map File
>
>
>My map object declaration line is simple, just this:
>my $map = new mapObj('/home/httpd/html/map/yield.map') or die("Unable to
>
>open mapfile. $!");
>
>This is the error: Unable to open mapfile. Permission denied
>
>Any ideas?
>
>BTW, thanks to those of you who helped with my dynamic class creation
>problem.  The error turned out to be a silly mistake regarding a
>double-quote that should have been a single-quote.
>
>Nick Petersen-Bergeron
>Developer
>
>ZedX Inc.
>369 Rolling Ridge Drive
>Bellefonte, PA. 16823
>
>_______________________________________________
>Mapserver-users mailing list
>Mapserver-users at lists.gis.umn.edu
>http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
>
>_______________________________________________
>Mapserver-users mailing list
>Mapserver-users at lists.gis.umn.edu
>http://lists.gis.umn.edu/mailman/listinfo/mapserver-users





More information about the MapServer-users mailing list