Bug 247429

Summary: xterm-192-7 gives wrong owner/permissions in /dev/pts
Product: Red Hat Enterprise Linux 4 Reporter: Wim de Haan <wim.de.haan>
Component: xtermAssignee: Miroslav Lichvar <mlichvar>
Status: CLOSED DUPLICATE QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: 4.5   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-07-09 10:06:31 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Wim de Haan 2007-07-09 09:16:55 UTC
Description of problem:
Recent xterm upgrade gives problem with "mesg y".
Mesg output: mesg: error: tty device is not owned by group `tty'.
xterm's are suddenly owned by login name in /dev/pts i.s.o. tty.
acces in /dev/pty is now crw--w--w- i.s.o crw--w----, which is a potential 
security risk.
Former version of xterm (192-4) doesn't have this problem.

Version-Release number of selected component (if applicable):
xterm-192-7.

How reproducible:
Always

Steps to Reproduce:
1. Install xterm-192-7 on RHEL4
2. open xterm
3. type mesg y / ls -al /dev/pts
  
Actual results:

Expected results:
Entry in /dev/pts should be owned by tty i.s.o user.
Access in /dev/pty should be crw--w----


Additional info:

Comment 1 Miroslav Lichvar 2007-07-09 10:06:31 UTC

*** This bug has been marked as a duplicate of 239070 ***