Bug 6100 - RH6.1 screen uses non UNIX98 ptys with DANGEROUS permissions
RH6.1 screen uses non UNIX98 ptys with DANGEROUS permissions
Product: Red Hat Linux
Classification: Retired
Component: screen (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Bill Nottingham
: Security
Depends On:
  Show dependency treegraph
Reported: 1999-10-19 17:23 EDT by Chris Evans
Modified: 2014-03-16 22:10 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 1999-10-21 15:57:17 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Chris Evans 1999-10-19 17:23:23 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
their behaviour.

PS. I like screen's usage of user-private .screen
directories, much better.
Comment 1 Bill Nottingham 1999-10-21 15:57:59 EDT
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. :( )

Note You need to log in before you can comment on or make changes to this bug.