Red Hat Bugzilla – Bug 6100
RH6.1 screen uses non UNIX98 ptys with DANGEROUS permissions
Last modified: 2014-03-16 22:10:35 EDT
I have a full RH6.1 install.
As a user I run "screen".
I notice I get allocated "/dev/ttya0", and the permissions
are -rw-rw-rw-, owned by root. This is very dangerous! It
looks like screen has failed to use /dev/pts/0 (UNIX98 pty
xterm and rxvt handle pty's correctly, screen should mimic
PS. I like screen's usage of user-private .screen
directories, much better.
Fixed in screen-3.9.4-3, in the errata.
(As an aside, using the user private .screen directories, while
more secure, breaks on Linux<->non-Linux NFS. :( )