Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37888688
en ru br
ALT Linux repos
S:379-alt2
5.0: 241-alt1
4.1: 235-alt1
4.0: 231-alt1
3.0: 202-alt2

Group :: Terminals
RPM: xterm

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: xterm-alt-perms.patch
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
     }
 
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin