Mailing List Archive

[openssh] 01/02: upstream: ensure logs are owned by correct user; feedback/ok
This is an automated email from the git hooks/post-receive script.

djm pushed a commit to branch master
in repository openssh.

commit c49a3fbf10162128c67c59562348de2041188974
Author: djm@openbsd.org <djm@openbsd.org>
Date: Thu Oct 12 03:48:53 2023 +0000

upstream: ensure logs are owned by correct user; feedback/ok

dtucker@

OpenBSD-Regress-ID: c3297af8f07717f1d400a5d34529962f1a76b5a3
---
regress/test-exec.sh | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/regress/test-exec.sh b/regress/test-exec.sh
index eaa12992..d060b79d 100644
--- a/regress/test-exec.sh
+++ b/regress/test-exec.sh
@@ -1,4 +1,4 @@
-# $OpenBSD: test-exec.sh,v 1.98 2023/03/02 11:10:27 dtucker Exp $
+# $OpenBSD: test-exec.sh,v 1.99 2023/10/12 03:48:53 djm Exp $
# Placed in the Public Domain.

#SUDO=sudo
@@ -498,6 +498,10 @@ save_debug_log ()
testname=`echo $tid | tr ' ' _`
tarname="$OBJ/failed-$testname-logs.tar"

+ if [ ! -z "$SUDO" ] ; then
+ $SUDO chown -R $USER $TEST_SSH_LOGDIR $TEST_REGRESS_LOGFILE \
+ $TEST_SSH_LOGFILE $TEST_SSHD_LOGFILE
+ fi
echo $@ >>$TEST_REGRESS_LOGFILE
echo $@ >>$TEST_SSH_LOGFILE
echo $@ >>$TEST_SSHD_LOGFILE

--
To stop receiving notification emails like this one, please contact
djm@mindrot.org.
_______________________________________________
openssh-commits mailing list
openssh-commits@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-commits