s4
changeset 1030:0dfef6d195fa
Fix chmod timing for error.out
author | HIROSE Yuuji <yuuji@gentei.org> |
---|---|
date | Tue, 26 Dec 2023 08:29:18 +0900 |
parents | 8c7d168d27ed |
children | 9d62cba7344f |
files | s4-funcs.sh |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line diff
1.1 --- a/s4-funcs.sh Tue Dec 26 08:15:08 2023 +0900 1.2 +++ b/s4-funcs.sh Tue Dec 26 08:29:18 2023 +0900 1.3 @@ -425,10 +425,11 @@ 1.4 sq $db < $sqi & 1.5 sq3pid="`jobs -p` $!" 1.6 if $isCGI; then 1.7 - exec 2>> $logdir/error.out 1.8 + exec 2>> $logdir/error.out 1.9 + chmod o-r $logdir/error.out 1.10 fi 1.11 exec 5> $sqi # Turning $sqi access through fd5 for continuous open state 1.12 - chmod o-r $logdir/error.out $logdir/debug.out 1.13 + chmod o-r $logdir/debug.out 1.14 rm $sqi 1.15 # Attach supplemental DB 1.16 cat >&5 <<-EOF