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 wrap: on
line diff
--- a/s4-funcs.sh	Sun Apr 12 14:10:06 2020 +0900
+++ b/s4-funcs.sh	Mon Apr 13 08:27:52 2020 +0900
@@ -45,8 +45,6 @@
 blogcutoffflagrowid=-1
 querylog=$tmpdir/query.log
 searchlog=$tmpdir/search.log
-oumask=`umask`
-umask 027
 
 tconfs=""
 imgcached=cache/img.`date +%Y/%m`
@@ -364,6 +362,7 @@
   fi
   exec 3>> $tmpdir/debug.out
   exec 5> $sqi # Turning $sqi access through fd5 for continuous open state
+  chmod o-r $tmpdir/error.out $tmpdir/debug.out
   rm $sqi
 }
 cleanup2() {	# Dirty workaround for produced zombie processes

yatex.org