From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Yang Zhang" Newsgroups: gmane.emacs.help Subject: Re: tramp 2.1.13-pre messed up symbolic link? Date: Tue, 24 Jun 2008 00:24:06 -0500 Message-ID: <8d61170c0806232224r324a4b0gb1f22fa28ac78e36@mail.gmail.com> References: <87bq1v18ux.fsf@gmx.de> <8d61170c0806220203h75885df3nf6283e13c6d3732c@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1214317173 31186 80.91.229.12 (24 Jun 2008 14:19:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 24 Jun 2008 14:19:33 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: "Michael Albinus" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jun 24 16:20:09 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KB9NG-0007s8-1L for geh-help-gnu-emacs@m.gmane.org; Tue, 24 Jun 2008 16:19:58 +0200 Original-Received: from localhost ([127.0.0.1]:50944 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KB9MQ-0001LE-IN for geh-help-gnu-emacs@m.gmane.org; Tue, 24 Jun 2008 10:19:06 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KB10k-0006rj-HD for help-gnu-emacs@gnu.org; Tue, 24 Jun 2008 01:24:10 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KB10j-0006r6-DE for help-gnu-emacs@gnu.org; Tue, 24 Jun 2008 01:24:09 -0400 Original-Received: from [199.232.76.173] (port=36347 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KB10j-0006qz-97 for help-gnu-emacs@gnu.org; Tue, 24 Jun 2008 01:24:09 -0400 Original-Received: from wf-out-1314.google.com ([209.85.200.170]:15557) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KB10i-0001mj-OX for help-gnu-emacs@gnu.org; Tue, 24 Jun 2008 01:24:09 -0400 Original-Received: by wf-out-1314.google.com with SMTP id 28so2382530wfc.24 for ; Mon, 23 Jun 2008 22:24:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender :to:subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references :x-google-sender-auth; bh=TyFLMhCLteZ4XL4UrLrI56RfzrukLz5NoTYhsp3WJkY=; b=KBdoUSPub3rdNd3MKq6Hamoq7YP3q6HuIGiTMS353Kv1gvyucLR8WNgrTtcUKjKjC5 aZ8A5C9IGfUUcsOPnrmWjsCxPRWLIsv4S1Zk6ADW9bMnSbZZAGHInbLHZ+JoxtBzR7qC JDEbJCIDrbePB7v7+BCVROVS97Ccpgy1OOF6Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references:x-google-sender-auth; b=A1V+g4YSQP1HPD97lWEPNxdcaS0peyYAzAxysvZzIIMNS8lodisjqXC99N/PLNXerA YUmAUfZXoDGai3dnvubH0F5LRGEe8KTQ6CT6xMdXxHIDqmqrYDefOWFzGv3M2NiwyD52 4ZMl0vtqKvy2P6B/mDlLi92/D/qV/1+lFh7U4= Original-Received: by 10.143.163.3 with SMTP id q3mr4920815wfo.294.1214285046668; Mon, 23 Jun 2008 22:24:06 -0700 (PDT) Original-Received: by 10.142.200.19 with HTTP; Mon, 23 Jun 2008 22:24:06 -0700 (PDT) In-Reply-To: Content-Disposition: inline X-Google-Sender-Auth: 7ddc7d3451569413 X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) X-Mailman-Approved-At: Tue, 24 Jun 2008 10:18:43 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:55064 Archived-At: Hi Michael, Thank you for your patch. It worked fine with emacs 23 on Ubuntu 8.04. I've also tried the patched tramp 2.1.13 with emacs 22.1 on Windows Vista. It seems that this also allowed the Windows emacs to read and save symbolic link files correctly on the remote Solaris 10 machine, except for some initial warning and interactions (I have to type some "yes" to proceed). In the Windows Vista emacs 22.1, for symbolic links that point to cvs controlled file, it directly opened the target file (which is fine). There is one small issue (that I've noticed for a long time). After saving, the target file's permission is always set to be "-rwxrwxrwx" regardless of the original one. For example, the target file is "test.cc (-rw-------)" the symbolic link is "test_link.cc (always lrwxrwxrwx)" After opening "test_link.cc" through tramp and saving something, "test.cc" now has a permission of "-rwxrwxrwx". It there a way to retain the target file's original permission after saving through the symbolic link file? Thanks --Yang On Mon, Jun 23, 2008 at 5:26 AM, Michael Albinus wrote: >> Hello Michael, > > Hi, > >> Thank you for your attention and help. The pre-installed tramp >> 2.1.13-pre with my emacs 23.0.60.1 is also having the symbolic >> problem. Here I attached the tramp debug buffer output. The other >> buffer "tramp /scp host*" is empty. > > Thanks for the traces, they have been helpful. Please try the appended > patch (towards 2.1.14-pre), it shall fix the problem. > >> Thank you very much, >> >> --Yang > > Best regards, Michael. > >