From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.devel Subject: Re: [Ronan.Keryell@enstb.org: tramp sudo:: and version control on RCS root controlled files] Date: Sun, 20 Nov 2005 20:03:21 +0100 Message-ID: References: <1132399024.3050.90.camel@localhost> <87psov6yo6.fsf-monnier+emacs@gnu.org> <1132508810.3050.102.camel@localhost> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1132513549 1173 80.91.229.2 (20 Nov 2005 19:05:49 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 20 Nov 2005 19:05:49 +0000 (UTC) Cc: emacs-devel@gnu.org, Stefan Monnier , rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Nov 20 20:05:45 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EduTX-0002Ki-PC for ged-emacs-devel@m.gmane.org; Sun, 20 Nov 2005 20:03:44 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EduTX-0008Kk-9E for ged-emacs-devel@m.gmane.org; Sun, 20 Nov 2005 14:03:43 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EduTM-0008Ic-Mn for emacs-devel@gnu.org; Sun, 20 Nov 2005 14:03:32 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EduTL-0008IQ-99 for emacs-devel@gnu.org; Sun, 20 Nov 2005 14:03:32 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EduTL-0008IN-5F for emacs-devel@gnu.org; Sun, 20 Nov 2005 14:03:31 -0500 Original-Received: from [195.135.220.2] (helo=mx1.suse.de) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1EduTH-0003vq-MZ; Sun, 20 Nov 2005 14:03:28 -0500 Original-Received: from Relay2.suse.de (mail2.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.suse.de (Postfix) with ESMTP id 6CEF2EABB; Sun, 20 Nov 2005 20:03:25 +0100 (CET) Original-To: Andre Spiegel X-Yow: --``I love KATRINKA because she drives a PONTIAC. We're going away now. I fed the cat. - Zippy'' In-Reply-To: <1132508810.3050.102.camel@localhost> (Andre Spiegel's message of "Sun, 20 Nov 2005 18:46:50 +0100") User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/22.0.50 (gnu/linux) 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:46349 Archived-At: Andre Spiegel writes: > A related operation, also used in VC, is to find a user's login name, > given the uid of that user. In the local case, Emacs does it via > (user-login-name UID), which is implemented as getpwuid(). How would > you do that for a remote file? You can try "getent passwd UID" if it exists. Andreas. --=20 Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux Products GmbH, Maxfeldstra=DFe 5, 90409 N=FCrnberg, Germany PGP key fingerprint =3D 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED= 5 "And now for something completely different."