From c88785efc8d38b6093ae21045dc0e8188ec42848 Mon Sep 17 00:00:00 2001 From: Ben Lindstrom Date: Mon, 6 Aug 2001 20:47:23 +0000 Subject: - markus@cvs.openbsd.org 2001/07/22 21:32:27 [sshpty.c] update comment --- sshpty.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'sshpty.c') diff --git a/sshpty.c b/sshpty.c index 6f97f38ed..71e16b79e 100644 --- a/sshpty.c +++ b/sshpty.c @@ -12,7 +12,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: sshpty.c,v 1.2 2001/07/18 21:10:43 markus Exp $"); +RCSID("$OpenBSD: sshpty.c,v 1.3 2001/07/22 21:32:27 markus Exp $"); #ifdef HAVE_UTIL_H # include @@ -313,7 +313,8 @@ pty_setowner(struct passwd *pw, const char *ttyname) /* * Change owner and mode of the tty as required. - * Warn but continue if filesystem is read-only and the uids match. + * Warn but continue if filesystem is read-only and the uids match/ + * tty is owned by root. */ if (stat(ttyname, &st)) fatal("stat(%.100s) failed: %.100s", ttyname, -- cgit v1.2.3