GNU bug report logs - #3771
23.0.95; Tramp file error

Previous Next

Package: emacs;

Reported by: eythanweg <at> gmail.com (Eythan Weg)

Date: Mon, 6 Jul 2009 23:35:03 UTC

Severity: normal

Done: Michael Albinus <michael.albinus <at> gmx.de>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 3771 in the body.
You can then email your comments to 3771 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#3771; Package emacs. (Mon, 06 Jul 2009 23:35:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to eythanweg <at> gmail.com (Eythan Weg):
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Mon, 06 Jul 2009 23:35:04 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: eythanweg <at> gmail.com (Eythan Weg)
To: emacs-pretest-bug <at> gnu.org
Subject: 23.0.95; Tramp file error
Date: Mon, 06 Jul 2009 19:26:06 -0400
Please write in English if possible, because the Emacs maintainers
usually do not have translators to read other languages for them.

Your bug report will be posted to the emacs-pretest-bug <at> gnu.org mailing list.

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

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 <at> localhost:/tmp/test3.txt...
Wrote /scp:laura <at> localhost:/tmp/test3.txt
File error: Error while changing file's mode /scp:laura <at> 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.

If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
    `bt full' and `xbacktrace'.
If you would like to further debug the crash, please read the file
/usr/local/share/emacs/23.0.95/etc/DEBUG for instructions.


In GNU Emacs 23.0.95.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.16.1)
 of 2009-06-19 on gauss
Windowing system distributor `The X.Org Foundation', version 11.0.10601901
Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default-enable-multibyte-characters: t

Major mode: Fundamental

Minor modes in effect:
  shell-dirtrack-mode: t
  tooltip-mode: t
  tool-bar-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
C-x C-f / / <backspace> l a u r a / <backspace> @ <tab> 
l o c a l h o s t : C-g M-: <help-echo> <down-mouse-2> 
<mouse-2> <help-echo> <return> C-x C-f M-p / l <backspace> 
l a u r a @ l o c a l h o s t : / t m p / t e s t 2 
. t x t <return> C-x C-f t e s t 3 . t x t <return> 
<down> T h i s SPC i s SPC a SPC t r u e SPC s t o 
r y <return> C-x C-s C-x b m e s a <return> <backspace> 
C-x C-f m e s s a <backspace> <backspace> <backspace> 
C-g C-g C-x b * M e TAB <return> M-x r e p o r s t 
<backspace> <backspace> <backspace> r t - r <backspace> 
e m TAB <return>

Recent messages:
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'
Note: file is write protected
Saving file /scp:laura <at> localhost:/tmp/test3.txt...
Wrote /scp:laura <at> localhost:/tmp/test3.txt
File error: Error while changing file's mode /scp:laura <at> localhost:/tmp/test3.txt
call-interactively: Beginning of buffer
Quit [2 times]
read-number: Command attempted to use minibuffer while in minibuffer






Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#3771; Package emacs. (Tue, 07 Jul 2009 06:10:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Michael Albinus <michael.albinus <at> gmx.de>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Tue, 07 Jul 2009 06:10:05 GMT) Full text and rfc822 format available.

Message #10 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Eythan Weg <eythanweg <at> gmail.com>
Cc: 3771 <at> debbugs.gnu.org, emacs-pretest-bug <at> gnu.org
Subject: Re: bug#3771: 23.0.95; Tramp file error
Date: Tue, 07 Jul 2009 08:02:55 +0200
eythanweg <at> 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 <at> localhost:/tmp/test3.txt...
> Wrote /scp:laura <at> localhost:/tmp/test3.txt
> File error: Error while changing file's mode /scp:laura <at> 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.



Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#3771; Package emacs. (Tue, 07 Jul 2009 06:10:06 GMT) Full text and rfc822 format available.

Acknowledgement sent to Michael Albinus <michael.albinus <at> gmx.de>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Tue, 07 Jul 2009 06:10:07 GMT) Full text and rfc822 format available.

Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#3771; Package emacs. (Tue, 07 Jul 2009 18:25:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to eythanweg <at> gmail.com (Eythan Weg):
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Tue, 07 Jul 2009 18:25:05 GMT) Full text and rfc822 format available.

Message #20 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: eythanweg <at> gmail.com (Eythan Weg)
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: Eythan Weg <eythanweg <at> gmail.com>, 3771 <at> debbugs.gnu.org,
        emacs-pretest-bug <at> gnu.org
Subject: Re: bug#3771: 23.0.95; Tramp file error
Date: Tue, 07 Jul 2009 14:23:10 -0400
Michael Albinus <michael.albinus <at> gmx.de>
Tue, 07 Jul 2009 08:02:55 +0200

   eythanweg <at> 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 <at> localhost:/tmp/test3.txt...
   > Wrote /scp:laura <at> localhost:/tmp/test3.txt
   > File error: Error while changing file's mode /scp:laura <at> 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 <at> 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 <at> localhost:/tmp/test4.txt...
  Wrote /scp:laura <at> localhost:/tmp/test4.txt
  File error: Error while changing file's mode /scp:laura <at> 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 <at> localhost*' for details.
  find-file-noselect-1: Wrong type argument: arrayp, nil

The buffer *tramp/scp laura <at> localhost* is empty.

If you need the a copy the debug buffer (level 8) please let me know.

Thank you.

Eythan 



Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#3771; Package emacs. (Tue, 07 Jul 2009 18:25:11 GMT) Full text and rfc822 format available.

Acknowledgement sent to eythanweg <at> gmail.com (Eythan Weg):
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Tue, 07 Jul 2009 18:25:11 GMT) Full text and rfc822 format available.

Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#3771; Package emacs. (Wed, 08 Jul 2009 13:25:07 GMT) Full text and rfc822 format available.

Acknowledgement sent to Michael Albinus <michael.albinus <at> gmx.de>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Wed, 08 Jul 2009 13:25:07 GMT) Full text and rfc822 format available.

Message #30 received at 3771 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: eythanweg <at> gmail.com (Eythan Weg)
Cc: 3771 <at> debbugs.gnu.org
Subject: Re: bug#3771: 23.0.95; Tramp file error
Date: Wed, 08 Jul 2009 15:19:23 +0200
eythanweg <at> gmail.com (Eythan Weg) writes:

> 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:

I've committed a patch. Could you, please, check whether it works for
you now?

> Thank you.
>
> Eythan 

Best regards, Michael.



Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#3771; Package emacs. (Wed, 08 Jul 2009 14:30:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to eythanweg <at> gmail.com (Eythan Weg):
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Wed, 08 Jul 2009 14:30:04 GMT) Full text and rfc822 format available.

Message #35 received at 3771 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: eythanweg <at> gmail.com (Eythan Weg)
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: eythanweg <at> gmail.com (Eythan Weg), 3771 <at> debbugs.gnu.org
Subject: Re: bug#3771: 23.0.95; Tramp file error
Date: Wed, 08 Jul 2009 10:24:36 -0400
Michael Albinus <michael.albinus <at> gmx.de>
Wed, 08 Jul 2009 15:19:23 +0200

   eythanweg <at> gmail.com (Eythan Weg) writes:
   
   > 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:
   
   I've committed a patch. Could you, please, check whether it works for
   you now?
   
   > Thank you.
   >
   > Eythan 
   
   Best regards, Michael.

Wonderful!  Thank you.  Eythan 



Reply sent to Michael Albinus <michael.albinus <at> gmx.de>:
You have taken responsibility. (Wed, 08 Jul 2009 15:15:04 GMT) Full text and rfc822 format available.

Notification sent to eythanweg <at> gmail.com (Eythan Weg):
bug acknowledged by developer. (Wed, 08 Jul 2009 15:15:04 GMT) Full text and rfc822 format available.

Message #40 received at 3771-done <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: eythanweg <at> gmail.com (Eythan Weg)
Cc: 3771-done <at> debbugs.gnu.org
Subject: Re: bug#3771: 23.0.95; Tramp file error
Date: Wed, 08 Jul 2009 17:10:22 +0200
eythanweg <at> gmail.com (Eythan Weg) writes:

>    I've committed a patch. Could you, please, check whether it works for
>    you now?
>    
>    Best regards, Michael.
>
> Wonderful!  Thank you.  Eythan 

Bug is closed.

Best regards, Michael.



bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> emacsbugs.donarmstrong.com. (Thu, 06 Aug 2009 14:24:11 GMT) Full text and rfc822 format available.

This bug report was last modified 16 years and 15 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.