From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: eythanweg@gmail.com (Eythan Weg) Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#3771: 23.0.95; Tramp file error Date: Tue, 07 Jul 2009 14:23:10 -0400 Message-ID: <878wj0wdwx.fsf@gmail.com> References: Reply-To: Eythan Weg , 3771@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1246991869 24599 80.91.229.12 (7 Jul 2009 18:37:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 7 Jul 2009 18:37:49 +0000 (UTC) Cc: 3771@emacsbugs.donarmstrong.com, emacs-pretest-bug@gnu.org, Eythan Weg To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jul 07 20:37:41 2009 Return-path: Envelope-to: geb-bug-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 1MOFXx-00071B-2P for geb-bug-gnu-emacs@m.gmane.org; Tue, 07 Jul 2009 20:37:41 +0200 Original-Received: from localhost ([127.0.0.1]:34157 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MOFXw-0005VM-7g for geb-bug-gnu-emacs@m.gmane.org; Tue, 07 Jul 2009 14:37:40 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MOFXr-0005Uj-Ui for bug-gnu-emacs@gnu.org; Tue, 07 Jul 2009 14:37:35 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MOFXn-0005TD-5Z for bug-gnu-emacs@gnu.org; Tue, 07 Jul 2009 14:37:35 -0400 Original-Received: from [199.232.76.173] (port=52644 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MOFXm-0005T1-QP for bug-gnu-emacs@gnu.org; Tue, 07 Jul 2009 14:37:30 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:41118) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MOFXm-00063W-1H for bug-gnu-emacs@gnu.org; Tue, 07 Jul 2009 14:37:30 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n67IbQ9p025827; Tue, 7 Jul 2009 11:37:27 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n67IPBGE023486; Tue, 7 Jul 2009 11:25:11 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: eythanweg@gmail.com (Eythan Weg) Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Tue, 07 Jul 2009 18:25:11 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 3771 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 3771-submit@emacsbugs.donarmstrong.com id=B3771.124699100723170 (code B ref 3771); Tue, 07 Jul 2009 18:25:11 +0000 Original-Received: (at 3771) by emacsbugs.donarmstrong.com; 7 Jul 2009 18:23:27 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from mail-ew0-f220.google.com (mail-ew0-f220.google.com [209.85.219.220]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n67INKbh023143 for <3771@emacsbugs.donarmstrong.com>; Tue, 7 Jul 2009 11:23:22 -0700 Original-Received: by ewy20 with SMTP id 20so3579288ewy.1 for <3771@emacsbugs.donarmstrong.com>; Tue, 07 Jul 2009 11:23:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:references :date:in-reply-to:message-id:user-agent:mime-version:content-type; bh=X+KvfuUnq8J18trUDcio4H+SKdmaJM0HhSG6gnd0mLE=; b=WTTxkEyj0qU0T/HhCYsojajQRHoSUP5Nfy2ulLqWkp9C2lD7N4LZ3vo9tpwdcooHH3 3mDHs9BGMXSv+tT/lihT5Btk//jnU5DtZA5yhYDcZ9ZVRUVy/NxPjTZNhyJdgxwqUX2k ucUsltsZmsaR404+2DxCMDs4hBhzttaxTRcX0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; b=YykxO7NKW7e9CxSUTYEkABrNFFEcwvwKapqw5DkVUvm5fsdZS0iXzyIuQAyeehv6jE KuB2wQqG5kkucr3/uZmYHOK8umYqTCgMAv/2ybOaI1viiw/LJnM6EsjzeRbtcr/RdJiV OgTpw1TYaBOTcJYw32bTgofwNlXiX3FjXwd9o= Original-Received: by 10.210.42.13 with SMTP id p13mr3853760ebp.39.1246990994955; Tue, 07 Jul 2009 11:23:14 -0700 (PDT) Original-Received: from gauss.web (c-98-223-90-29.hsd1.in.comcast.net [98.223.90.29]) by mx.google.com with ESMTPS id 28sm4380004eyg.32.2009.07.07.11.23.12 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 07 Jul 2009 11:23:14 -0700 (PDT) In-Reply-To: (Michael Albinus's message of "Tue, 07 Jul 2009 08:02:55 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Tue, 07 Jul 2009 14:37:35 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:29232 gmane.emacs.pretest.bugs:24740 Archived-At: Michael Albinus Tue, 07 Jul 2009 08:02:55 +0200 eythanweg@gmail.com (Eythan Weg) writes: > Start emacs -Q. On being user weg I use tramp to access on > localhost the file > -rw-r--r-- 1 laura laura 6 2009-07-05 09:31 test3.txt > in /tmp. > > > edit and save. *Messages* has these lines: > > Saving file /scp:laura@localhost:/tmp/test3.txt... > Wrote /scp:laura@localhost:/tmp/test3.txt > File error: Error while changing file's mode /scp:laura@localhost:/tmp/test3.txt > > The file is updated under my ownership. > > -rw-r--r-- 1 weg weg 27 2009-07-05 09:32 test3.txt > > The backup file renamed properly: > -rw-r--r-- 1 laura laura 6 2009-07-05 09:31 test3.txt~ > > When tramp access a remote system in an analogous situation there > is no problem. I have a copy of the tramp debug buffer saved if needed. [...] > In GNU Emacs 23.0.95.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.16.1) > of 2009-06-19 on gauss Last days I have fixed some few bugs in `tramp-do-copy-or-rename-file-directly', which does the work in your case. Could you, please, check with a fresh built, whether the problem still happens? Best regards, Michael. I compiled the current version of 23.0.95. Tramps behaves the same way as originally reported. Then I tried editing another file in a different directory with permission 664 owned by the same user (not me). But it does not open. The following is a copy of *Messages* that includes references to the two episodes: Tramp: Opening connection for laura@localhost using scp... Tramp: Waiting 60s for local shell to come up... Tramp: Sending command `ssh localhost -l laura -q -e none && exit || exit' Tramp: Waiting for prompts from remote shell Tramp: Found remote shell prompt on `localhost' Saving file /scp:laura@localhost:/tmp/test4.txt... Wrote /scp:laura@localhost:/tmp/test4.txt File error: Error while changing file's mode /scp:laura@localhost:/tmp/test4.txt Quit [6 times] Mark set GNU Emacs 23.0.95.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.16.1) of 2009-07-07 on gauss Quit [6 times] File error: Copying directly failed, see buffer `*tramp/scp laura@localhost*' for details. find-file-noselect-1: Wrong type argument: arrayp, nil The buffer *tramp/scp laura@localhost* is empty. If you need the a copy the debug buffer (level 8) please let me know. Thank you. Eythan