Bug 3562 - Wrong pseudo tty modes
Wrong pseudo tty modes
Product: Red Hat Linux
Classification: Retired
Component: screen (Show other bugs)
i386 Linux
low Severity low
: ---
: ---
Assigned To: David Lawrence
Depends On:
  Show dependency treegraph
Reported: 1999-06-18 05:04 EDT by David Balažic
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 1999-06-18 11:18:47 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 David Balažic 1999-06-18 05:04:22 EDT
screen-3.7.6-6 set the pseudo tty perms and owner/group incorrectly.
By default it sets it to mode 622 user : user , group : user
that is for user stein it is set to :
crw--w--w-   1 stein    stein    136,   5 Jun 18 10:59 5
But logging in via ssh and telnet set it to :
crw--w----   1 stein    tty    136,   4 Jun 18 10:59 4
Comment 1 David Balažic 1999-06-18 06:49:59 EDT
I noticed in the original screen 3.7.6 sources that it sets the
group of PTY to PTYGROUP, if symbol PTYGROUP is defined.
I executed configure and it DID set PTYGROUP to 5, which is correct.
I compiled it and it works sorta good. Set tty ownership correctly,
but uses ttya0 and not pts/1 :-)
Comment 2 David Balažic 1999-06-18 10:45:59 EDT
Seem to be fixed after installing screen-3.7.6-9 and dev-2.7.7-2.
Comment 3 Bill Nottingham 1999-06-18 11:18:59 EDT
yup, this was part of the errata fix.

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