From cfcc27f8f513d05809df9efbbd4f05b01336bdf6 Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Tue, 6 Nov 2012 17:46:10 +0000 Subject: make logs created by root appendable --- it.class | 1 + 1 file changed, 1 insertion(+) diff --git a/it.class b/it.class index d2baac9..7d96342 100644 --- a/it.class +++ b/it.class @@ -88,6 +88,7 @@ static function log($name /* ... */) $tmp = getmypid(); @touch("$fullfn.$tmp"); @chgrp("$fullfn.$tmp", "www"); + @chmod("$fullfn.$tmp", 0664); @rename("$fullfn.$tmp", $fullfn); @unlink($basefn); @symlink($fullfn, $basefn); -- cgit v1.2.3