unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#3771: 23.0.95; Tramp file error
@ 2009-07-06 23:26 Eythan Weg
  0 siblings, 0 replies; 5+ messages in thread
From: Eythan Weg @ 2009-07-06 23:26 UTC (permalink / raw)
  To: emacs-pretest-bug


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@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@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.

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@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
call-interactively: Beginning of buffer
Quit [2 times]
read-number: Command attempted to use minibuffer while in minibuffer








^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#3771: 23.0.95; Tramp file error
       [not found] <mailman.1951.1246923455.2239.bug-gnu-emacs@gnu.org>
@ 2009-07-07  6:02 ` Michael Albinus
  2009-07-07 18:23   ` Eythan Weg
  0 siblings, 1 reply; 5+ messages in thread
From: Michael Albinus @ 2009-07-07  6:02 UTC (permalink / raw)
  To: Eythan Weg; +Cc: 3771, emacs-pretest-bug

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.





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#3771: 23.0.95; Tramp file error
  2009-07-07  6:02 ` bug#3771: 23.0.95; Tramp file error Michael Albinus
@ 2009-07-07 18:23   ` Eythan Weg
  2009-07-08 13:19     ` Michael Albinus
  0 siblings, 1 reply; 5+ messages in thread
From: Eythan Weg @ 2009-07-07 18:23 UTC (permalink / raw)
  To: Michael Albinus; +Cc: 3771, emacs-pretest-bug, Eythan Weg


Michael Albinus <michael.albinus@gmx.de>
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 





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#3771: 23.0.95; Tramp file error
  2009-07-07 18:23   ` Eythan Weg
@ 2009-07-08 13:19     ` Michael Albinus
  2009-07-08 14:24       ` Eythan Weg
  0 siblings, 1 reply; 5+ messages in thread
From: Michael Albinus @ 2009-07-08 13:19 UTC (permalink / raw)
  To: Eythan Weg; +Cc: 3771

eythanweg@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.





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#3771: 23.0.95; Tramp file error
  2009-07-08 13:19     ` Michael Albinus
@ 2009-07-08 14:24       ` Eythan Weg
  0 siblings, 0 replies; 5+ messages in thread
From: Eythan Weg @ 2009-07-08 14:24 UTC (permalink / raw)
  To: Michael Albinus; +Cc: 3771, Eythan Weg


Michael Albinus <michael.albinus@gmx.de>
Wed, 08 Jul 2009 15:19:23 +0200

   eythanweg@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 





^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-07-08 14:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.1951.1246923455.2239.bug-gnu-emacs@gnu.org>
2009-07-07  6:02 ` bug#3771: 23.0.95; Tramp file error Michael Albinus
2009-07-07 18:23   ` Eythan Weg
2009-07-08 13:19     ` Michael Albinus
2009-07-08 14:24       ` Eythan Weg
2009-07-06 23:26 Eythan Weg

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).