summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUrban Müller2012-11-06 17:46:10 +0000
committerUrban Müller2012-11-06 17:46:10 +0000
commitcfcc27f8f513d05809df9efbbd4f05b01336bdf6 (patch)
tree8c158025064f16ac249dc47ec7a6f9f493a2df1b
parent8a3d7462ef9d1b6340a5e58552a1d6e2de13ec23 (diff)
downloaditools-cfcc27f8f513d05809df9efbbd4f05b01336bdf6.tar.gz
itools-cfcc27f8f513d05809df9efbbd4f05b01336bdf6.tar.bz2
itools-cfcc27f8f513d05809df9efbbd4f05b01336bdf6.zip
make logs created by root appendable
-rw-r--r--it.class1
1 files changed, 1 insertions, 0 deletions
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);