s4
changeset 605:3b614fa74617
Umask should not be set for image cacheing. Chmod logfiles later.
author | HIROSE Yuuji <yuuji@gentei.org> |
---|---|
date | Mon, 13 Apr 2020 08:27:52 +0900 |
parents | 93f770f87662 |
children | 00837fdf1120 |
files | s4-funcs.sh |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line diff
1.1 --- a/s4-funcs.sh Sun Apr 12 14:10:06 2020 +0900 1.2 +++ b/s4-funcs.sh Mon Apr 13 08:27:52 2020 +0900 1.3 @@ -45,8 +45,6 @@ 1.4 blogcutoffflagrowid=-1 1.5 querylog=$tmpdir/query.log 1.6 searchlog=$tmpdir/search.log 1.7 -oumask=`umask` 1.8 -umask 027 1.9 1.10 tconfs="" 1.11 imgcached=cache/img.`date +%Y/%m` 1.12 @@ -364,6 +362,7 @@ 1.13 fi 1.14 exec 3>> $tmpdir/debug.out 1.15 exec 5> $sqi # Turning $sqi access through fd5 for continuous open state 1.16 + chmod o-r $tmpdir/error.out $tmpdir/debug.out 1.17 rm $sqi 1.18 } 1.19 cleanup2() { # Dirty workaround for produced zombie processes