The tmp folder should be owned and writable by the user the webserver is running as. You don't need to change permissions on document root, just the tmp directory. Most uses of MapServer don't require a temporary directory at all - I believe only mode=browse and saving queries use that directory. So if you just want to see a map in the browser use
http://127.0.0.1/cgi-bin/mapserv?map=/home/mapdata/2.map&mode=map Steve From: [email protected] [mailto:[email protected]] On Behalf Of Stefanos Anastasiou Sent: Friday, June 27, 2014 8:30 AM To: [email protected] Subject: [mapserver-users] Permission settings on htdcos Hello list..! I'm just trying to load a simple shapefile in the browser. Both mapfile and template are located in /home/mapdata. When I try to browse: 127.0.0.1/cgi-bin/mapserv?map=/home/mapdata/2.map&mode=browse I get the error that says: "msSaveImage(): Unable to access file. Failed to create output file". I presume that it has to do with the permission settings in tmp folder in htdcocs. As far as I know it's not a good idea giving permission 666 or 777 to htdocs. So should I handle this ?
_______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
