From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: emacs client/server mode hardcodes /tmp path Date: Thu, 06 Mar 2008 12:48:24 -0500 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1204825749 9102 80.91.229.12 (6 Mar 2008 17:49:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 6 Mar 2008 17:49:09 +0000 (UTC) Cc: emacs-devel@gnu.org To: flameeyes@gmail.com (Diego 'Flameeyes' =?iso-8859-1?Q?Petten=1FFFFFFF?=) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 06 18:49:36 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JXKDP-0003ph-9P for ged-emacs-devel@m.gmane.org; Thu, 06 Mar 2008 18:49:11 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JXKCr-0004AF-CU for ged-emacs-devel@m.gmane.org; Thu, 06 Mar 2008 12:48:37 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JXKCh-00043S-1X for emacs-devel@gnu.org; Thu, 06 Mar 2008 12:48:27 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JXKCf-00041R-AP for emacs-devel@gnu.org; Thu, 06 Mar 2008 12:48:26 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JXKCf-00041I-58 for emacs-devel@gnu.org; Thu, 06 Mar 2008 12:48:25 -0500 Original-Received: from ironport2-out.pppoe.ca ([206.248.154.182]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JXKCe-00086y-VB for emacs-devel@gnu.org; Thu, 06 Mar 2008 12:48:25 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ao8CAMS8z0fO+LKX/2dsb2JhbACsQ4EH X-IronPort-AV: E=Sophos;i="4.25,457,1199682000"; d="scan'208";a="15665225" Original-Received: from smtp.pppoe.ca ([65.39.196.238]) by ironport2-out.pppoe.ca with ESMTP; 06 Mar 2008 12:48:24 -0500 Original-Received: from pastel.home ([206.248.178.151]) by smtp.pppoe.ca (Internet Mail Server v1.0) with ESMTP id MUC49024; Thu, 06 Mar 2008 12:48:24 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 35D4B816B; Thu, 6 Mar 2008 12:48:24 -0500 (EST) In-Reply-To: ("Diego 'Flameeyes' =?iso-8859-1?Q?Petten=1FFFFFFF=22's?= message of "Thu, 06 Mar 2008 16:43:56 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:91525 Archived-At: > I'm working to make use of pam_mktemp in my systems by default, > pam_mktemp is a PAM module that creates a private temporary directory > per-user inside /tmp and sets TMP and TMPDIR accondingly. Indeed. I'm not sure what should be done here. The reason for the hard-coded /tmp is that the emacsclient process and the emacs server process may be executed from different contexts (different login sessions for example), so it's not clear that they would use the same $TMPDIR setting. What do others think? Should we take the risk and obey $TMPDIR? Stefan