Group :: Terminals
RPM: xterm
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: xterm-alt-perms.patch
Download
Download
--- xterm-202/main.c.orig 2005-06-08 15:39:43 +0400
+++ xterm-202/main.c 2005-06-08 15:40:54 +0400
@@ -4718,9 +4718,9 @@ Exit(int n)
if (am_slave < 0) {
TRACE_IDS;
/* restore ownership of tty and pty */
- set_owner(ttydev, 0, 0, 0666U);
+ set_owner(ttydev, 0, 0, 0600U);
#if (defined(USE_PTY_DEVICE) && !defined(__sgi) && !defined(__hpux))
- set_owner(ptydev, 0, 0, 0666U);
+ set_owner(ptydev, 0, 0, 0600U);
#endif
}