From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#1540: emacsclient -t fails under su Date: Thu, 11 Dec 2008 15:13:58 -0500 Message-ID: Reply-To: Glenn Morris , 1540@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1229027147 20631 80.91.229.12 (11 Dec 2008 20:25:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 11 Dec 2008 20:25:47 +0000 (UTC) To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Dec 11 21:26:49 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LAs7J-00050Q-A5 for geb-bug-gnu-emacs@m.gmane.org; Thu, 11 Dec 2008 21:26:37 +0100 Original-Received: from localhost ([127.0.0.1]:38198 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LAs67-0006zH-Uq for geb-bug-gnu-emacs@m.gmane.org; Thu, 11 Dec 2008 15:25:23 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LAs57-0006ZI-GW for bug-gnu-emacs@gnu.org; Thu, 11 Dec 2008 15:24:21 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LAs56-0006YV-Mq for bug-gnu-emacs@gnu.org; Thu, 11 Dec 2008 15:24:21 -0500 Original-Received: from [199.232.76.173] (port=48112 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LAs56-0006YP-Hr for bug-gnu-emacs@gnu.org; Thu, 11 Dec 2008 15:24:20 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:42674) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LAs56-0000qB-25 for bug-gnu-emacs@gnu.org; Thu, 11 Dec 2008 15:24:20 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mBBKOIa6003644; Thu, 11 Dec 2008 12:24:18 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id mBBKK5br002211; Thu, 11 Dec 2008 12:20:05 -0800 X-Loop: don@donarmstrong.com Resent-From: Glenn Morris Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Thu, 11 Dec 2008 20:20:05 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1540 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.1229026481350 (code B ref -1); Thu, 11 Dec 2008 20:20:05 +0000 X-Spam-Bayes: score:0.0000 Tokens: new, 31; hammy, 50; neutral, 61; spammy, 0. spammytokens: hammytokens:0.000-+--emacs, 0.000-+--Emacs, 0.000-+--H*M:fsf, 0.000-+--H*UA:Emacs, 0.000-+--H*u:Emacs Original-Received: (at submit) by emacsbugs.donarmstrong.com; 11 Dec 2008 20:14:41 +0000 Original-Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mBBKEcS2000344 for ; Thu, 11 Dec 2008 12:14:39 -0800 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LArvi-0003PJ-2I for bug-gnu-emacs@gnu.org; Thu, 11 Dec 2008 15:14:38 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LArvg-0003OU-ED for bug-gnu-emacs@gnu.org; Thu, 11 Dec 2008 15:14:37 -0500 Original-Received: from [199.232.76.173] (port=35997 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LArvg-0003ON-A9 for bug-gnu-emacs@gnu.org; Thu, 11 Dec 2008 15:14:36 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]:45068) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LArvg-0007aj-3k for bug-gnu-emacs@gnu.org; Thu, 11 Dec 2008 15:14:36 -0500 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1LArv4-0000p4-6j; Thu, 11 Dec 2008 15:13:58 -0500 X-Spook: national information infrastructure credit card digicash X-Ran: -wBW.]b<5kd7xdPaaM<2P6{Gia!!QFb^bH1IHs2UPK1K3cz9N\;Ae(QsuSkiproJm}.kTj X-Hue: red X-Attribution: GM User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Thu, 11 Dec 2008 15:24:20 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:23201 Archived-At: I'm logged into an X session as user1. >From the xterm associated with /dev/pts/12, I do: user1> su - user2 user2> emacs -Q -nw That works fine. Then I exit that Emacs and do: user2> emacs -Q -f server-start & # works fine user2> emacsclient -c # works fine user2> emacsclient -t *ERROR*: Could not open file: /dev/pts/12 (and indeed user2 does not have permissions for this file) user2> emacsclient -t This second attempt kills Emacs with a segfault.