Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37578233
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: 0004-xterm-alt-perms.patch
Download


From 0 Mon Sep 17 00:00:00 2001
From: "George V. Kouryachy (Fr. Br. George)" <george@altlinux.ru>
Date: Tue, 23 Oct 2012 14:15:58 +0400
Subject: [PATCH] xterm-alt-perms
diff --git a/xterm/main.c b/xterm/main.c
index defaced..defaced 100644
--- a/xterm/main.c
+++ b/xterm/main.c
@@ -5369,9 +5369,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
     }
 #endif
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin