From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thr4wn Newsgroups: gmane.emacs.help Subject: Re: tramp 2.1.13-pre messed up symbolic link? Date: Thu, 26 Jun 2008 10:20:09 -0700 (PDT) Organization: http://groups.google.com Message-ID: <6aa768f2-76c7-4445-ae5b-cf40930e20f1@79g2000hsk.googlegroups.com> References: <87bq1v18ux.fsf@gmx.de> <8d61170c0806220203h75885df3nf6283e13c6d3732c@mail.gmail.com> <8d61170c0806232224r324a4b0gb1f22fa28ac78e36@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 1214502063 17452 80.91.229.12 (26 Jun 2008 17:41:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 26 Jun 2008 17:41:03 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jun 26 19:41:48 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 1KBvTd-0001nz-Dj for geh-help-gnu-emacs@m.gmane.org; Thu, 26 Jun 2008 19:41:45 +0200 Original-Received: from localhost ([127.0.0.1]:38541 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KBvSn-0007ma-MN for geh-help-gnu-emacs@m.gmane.org; Thu, 26 Jun 2008 13:40:53 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!79g2000hsk.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 30 Original-NNTP-Posting-Host: 216.254.27.75 Original-X-Trace: posting.google.com 1214500809 15541 127.0.0.1 (26 Jun 2008 17:20:09 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Thu, 26 Jun 2008 17:20:09 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: 79g2000hsk.googlegroups.com; posting-host=216.254.27.75; posting-account=yciHbgoAAAC-yiSCERRTWUTnOnw8WIwj User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.14) Gecko/20080404 Iceweasel/2.0.0.14 (Debian-2.0.0.14-2), gzip(gfe), gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:159742 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:55096 Archived-At: On Jun 25, 7:35 am, Michael Albinus wrote: > > Hi Michael, > > Hi Yang, > > > 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? > > Please try the appended patch. It should fix it. > > > Thanks > > --Yang > > Best regards, Michael. > > text_x-patch_part > 1KDownload how do I apply the patch? also, is the second patch the 'newer' one, or am I supposed to apply the first one as well, because I receive 404 error when I click it. -Thr4wn