emacs-devel
[Top][All Lists]
Advanced

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

Re: Tramp and VC integration: "calling user"


From: Kai Großjohann
Subject: Re: Tramp and VC integration: "calling user"
Date: Thu, 31 Mar 2005 16:40:08 +0200
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/22.0.50 (usg-unix-v)

Stefan Monnier <address@hidden> writes:

>> Suggestions for solving this:
>
>> (1) New file operation file-mine-p, returns true if the file is owned
>>     by the "calling user".  For non-special files, the calling user is
>>     the user who invoked Emacs.  For Tramp files, the calling user is
>>     the user logged into the remote host.
>
> Could you remind me why file-writable-p can't be used?

Well, hm.  What happens if we are in the same group, I check out the
file, it becomes group-writable, then you try to edit it?  (I have no
idea whether a file could become group-writable on checkout, though.)

Perhaps Andre needs to chime in here...

Could be that you have a good point.

Kai





reply via email to

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