From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thien-Thi Nguyen Newsgroups: gmane.emacs.devel Subject: Re: 22.1.50; insert-file-contents is slow under tramp Date: Mon, 27 Aug 2007 16:09:47 +0200 Message-ID: <87lkbxvzkk.fsf@gnuvola.org> References: <87veb6l9b0.fsf@escher.local.home> <46CD98DC.1050701@gmx.at> <87r6lul2fc.fsf@escher.local.home> <46CDC8B3.7000301@gmx.at> <46CDED2B.3080904@gmx.at> <87k5rmkmu0.fsf@escher.local.home> <46CDF5B7.2030201@gmx.at> <87fy2akjzt.fsf@escher.local.home> <87bqcxzeat.fsf@gmx.de> <871wdqlgzz.fsf@gmx.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1188223845 5150 80.91.229.12 (27 Aug 2007 14:10:45 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 27 Aug 2007 14:10:45 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Aug 27 16:10:42 2007 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 1IPfIY-0002TN-5U for ged-emacs-devel@m.gmane.org; Mon, 27 Aug 2007 16:10:34 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IPfIX-0005xI-Lc for ged-emacs-devel@m.gmane.org; Mon, 27 Aug 2007 10:10:33 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IPfIV-0005wf-BJ for emacs-devel@gnu.org; Mon, 27 Aug 2007 10:10:31 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IPfIT-0005vj-RZ for emacs-devel@gnu.org; Mon, 27 Aug 2007 10:10:30 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IPfIT-0005vb-Ke for emacs-devel@gnu.org; Mon, 27 Aug 2007 10:10:29 -0400 Original-Received: from ppp-137-32.21-151.libero.it ([151.21.32.137] helo=localhost.localdomain) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IPfIT-0000Cn-1c for emacs-devel@gnu.org; Mon, 27 Aug 2007 10:10:29 -0400 Original-Received: from ttn by localhost.localdomain with local (Exim 4.63) (envelope-from ) id 1IPfHn-0000a4-1G for emacs-devel@gnu.org; Mon, 27 Aug 2007 16:09:47 +0200 In-Reply-To: (Stefan Monnier's message of "Mon\, 27 Aug 2007 09\:58\:32 -0400") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) X-Detected-Kernel: 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:77287 Archived-At: () Stefan Monnier () Mon, 27 Aug 2007 09:58:32 -0400 How can you do that? Let's say I access a file of user BAR from user FOO, how would you go about doing it in such a way that user TOTO can never see the content of the file? BAR can't use `chown' (unless it's root). can we use tmpfile(3)? thi