diff -Naur ppp-2.4.2-orig/pppd/tty.c ppp-2.4.2/pppd/tty.c --- ppp-2.4.2-orig/pppd/tty.c 2004-01-13 06:17:59 +0200 +++ ppp-2.4.2/pppd/tty.c 2006-11-13 15:10:08 +0200 @@ -589,7 +589,7 @@ * Do the equivalent of `mesg n' to stop broadcast messages. */ if (fstat(ttyfd, &statbuf) < 0 - || fchmod(ttyfd, statbuf.st_mode & ~(S_IWGRP | S_IWOTH)) < 0) { + || fchmod(ttyfd, statbuf.st_mode & ~S_IWOTH) < 0) { warn("Couldn't restrict write permissions to %s: %m", devnam); } else tty_mode = statbuf.st_mode;