]> granicus.if.org Git - postgis/commitdiff
Properly set permissions on backend temp dir
authorSandro Santilli <strk@keybit.net>
Thu, 7 Jun 2012 23:08:41 +0000 (23:08 +0000)
committerSandro Santilli <strk@keybit.net>
Thu, 7 Jun 2012 23:08:41 +0000 (23:08 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@9860 b70326c6-7e19-0410-871a-916f4a2858ee

regress/run_test.pl

index 64c79d674e240ffac96acc243c822d312bcd631a..c0873a413e0d4916d0cd26f2dcb4e4d385b140f6 100755 (executable)
@@ -530,6 +530,7 @@ sub run_simple_test
        my $diffile = sprintf("%s/test_%s_diff", $TMPDIR, $RUN);
 
        mkpath($betmpdir);
+       chmod 0777, $betmpdir;
 
        my $cmd = "psql -v \"VERBOSITY=terse\" -v \"tmpfile='$tmpfile'\" -tXA $DB < $sql > $outfile 2>&1";
        my $rv = system($cmd);