Mercurial > hgrepos > hgweb.cgi > s4
changeset 1030:0dfef6d195fa draft
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 wrap: on
line diff
--- a/s4-funcs.sh Tue Dec 26 08:15:08 2023 +0900 +++ b/s4-funcs.sh Tue Dec 26 08:29:18 2023 +0900 @@ -425,10 +425,11 @@ sq $db < $sqi & sq3pid="`jobs -p` $!" if $isCGI; then - exec 2>> $logdir/error.out + exec 2>> $logdir/error.out + chmod o-r $logdir/error.out fi exec 5> $sqi # Turning $sqi access through fd5 for continuous open state - chmod o-r $logdir/error.out $logdir/debug.out + chmod o-r $logdir/debug.out rm $sqi # Attach supplemental DB cat >&5 <<-EOF