Red Hat Bugzilla – Bug 3562
Wrong pseudo tty modes
Last modified: 2008-05-01 11:37:50 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
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 :-)
Seem to be fixed after installing screen-3.7.6-9 and dev-2.7.7-2.
yup, this was part of the errata fix.