this is what I meant, file creation and deletion ("unlink") are different type of permissions, see
http://technet.microsoft.com/en-us/library/bb727008.aspx armin On 12/05/2011 22:39, Chris Jackson wrote: > I think all the settings are right (I matched them from one system to > another...), and application works fine bar this one wrinkle. > > The PHP error for completeness is: PHP Warning: > unlink(/ms4w/tmp/ms_tmp/meanannualpower_280khctamkiklslh02a8eu7g72.csv): > Permission denied in C:\..\..\incphp\common.php on line 368. > > Some of us have to have the misfortune of using Windows.... ;) > > Chris > > On 12 May 2011 21:22, Armin Burger <armin.bur...@gmail.com > <mailto:armin.bur...@gmail.com>> wrote: > > I just had a look, the csv and zip files for CSV export are written to > the same directory as the map images, which has to be writeable by the > web server user (something like "iusr_...." on IIS I guess) and which > corresponds to the IMAGEPATH tag in the map file. > > I'm wondering how the application can work at all if the web server user > has not the permissions to write to this directory... or maybe he has > just modify but no delete permissions, I don't remember any more the > Windows Access Control stuff, my knowledge is limited to plain Unix > permissions and Posix ACL's... > > armin > > On 12/05/2011 21:17, Chris Jackson wrote: > > Armin > > Uncommenting the code as suggested was a good start. Will need > to split > > whole numbers from the rest in due course (or sort out the > shapefile..). > > > > I never got the perms to work for the csv export, could you > confirm it is > > just the iusr account write perms on ms_tmp dir in Windows that are > > required. > > > > Cheers > > Chris > > On 12 May 2011 07:21, "Chris Jackson"<webturt...@gmail.com > <mailto:webturt...@gmail.com>> wrote: > >> Yup the PHP error log flags a permissions error (sorry was too > tired to > >> remember error logs), though the ms_tmp folder is configured ok for > >> permissions... > >> > >> As for formatting, it comes back to me - I remember looking at > redefining > >> the shapefile field formats... groan. > >> > >> Cheers > >> Chris > > > ------------------------------------------------------------------------------ > Achieve unprecedented app performance and reliability > What every C/C++ and Fortran developer should know. > Learn how Intel has extended the reach of its next-generation tools > to help boost performance applications - inlcuding clusters. > http://p.sf.net/sfu/intel-dev2devmay > _______________________________________________ > pmapper-users mailing list > pmapper-users@lists.sourceforge.net > <mailto:pmapper-users@lists.sourceforge.net> > https://lists.sourceforge.net/lists/listinfo/pmapper-users > > ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users