diff options
author | Urban Müller | 2012-11-06 17:46:10 +0000 |
---|---|---|
committer | Urban Müller | 2012-11-06 17:46:10 +0000 |
commit | cfcc27f8f513d05809df9efbbd4f05b01336bdf6 (patch) | |
tree | 8c158025064f16ac249dc47ec7a6f9f493a2df1b /it.class | |
parent | 8a3d7462ef9d1b6340a5e58552a1d6e2de13ec23 (diff) | |
download | itools-cfcc27f8f513d05809df9efbbd4f05b01336bdf6.tar.gz itools-cfcc27f8f513d05809df9efbbd4f05b01336bdf6.tar.bz2 itools-cfcc27f8f513d05809df9efbbd4f05b01336bdf6.zip |
make logs created by root appendable
Diffstat (limited to 'it.class')
-rw-r--r-- | it.class | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); |