From 2f4f6cb0931561d47b0e7a6da202c815278c2a32 Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Mon, 6 Aug 2007 15:00:31 +0000 Subject: ensure correct permissions --- it.class | 1 + 1 file changed, 1 insertion(+) (limited to 'it.class') diff --git a/it.class b/it.class index a10f003..26b15c2 100644 --- a/it.class +++ b/it.class @@ -118,6 +118,7 @@ function error($p = array(), $body = "", $to = "") if ($sendalert && (time() - @filemtime($lastsentfn)) > 3600) { @mkdir("/tmp/alertdata"); + @chmod("/tmp/alertdata", 0777); touch($lastsentfn); $url = ($_SERVER['HTTPS'] ? "https://" : "http://") . $_SERVER['HTTP_HOST'] .$_SERVER['REQUEST_URI']; -- cgit v1.2.3