emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: address@hidden: tramp sudo:: and version control on RCS root control


From: Eli Zaretskii
Subject: Re: address@hidden: tramp sudo:: and version control on RCS root controlled files]
Date: Sun, 20 Nov 2005 21:28:39 +0200

> From: Stefan Monnier <address@hidden>
> Date: Sun, 20 Nov 2005 12:02:59 -0500
> Cc: address@hidden, address@hidden
> 
> > The only solution I can think of would be to have a new
> > file-handler-sensitive operation (file-login-name FILE) which returns
> > the name of the user under which Emacs accesses the given FILE.  For
> > local files, that would be equivalent to user-login-name, for remote
> > files it would be the name of the remote user, or "root" if Tramp sudo::
> > is involved.
> 
> We could try and use (process-file "whoami") or (process-file "id").

Can we assume that these commands are always available on all
supported systems?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]