tramp-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: problem with preserving emacs tramp file permissions


From: Konstantin Weiner
Subject: Re: problem with preserving emacs tramp file permissions
Date: Tue, 4 Sep 2012 13:12:56 +0300

 re: output of ls

ls -al /var/lib/asterisk/agi-bin/

drwxrwxr-x 7 asterisk asterisk  4096 Sep  3 12:12 .
drwxrwxr-x 6 asterisk asterisk  4096 Aug  1 07:49 ..
-rwxrwxrwx 1 root     root      8873 Sep  4 12:08 tmp.php
-rwxrwxrwx 1 root     root      8873 Sep  4 12:03 tmp.php~


re: Tramp's debug buffer
I will send when I catch it happening again.


Many thanks, Michael!
K.


On Tue, Sep 4, 2012 at 12:47 PM, Michael Albinus <address@hidden> wrote:
Konstantin Weiner <address@hidden> writes:

> Thank you, Michael, for helping figure it out.

Hi Konstantin,

> For example:
> on windows host I open a remote file from a linux host:
> /pscp:address@hidden:/tmp/tmp.php
> Initially permissions have execute bit on:
> -rwxrwxrwx
>
> Then after edits I save
> and emacs generates a backup tmp.php~
> and creates the new version tmp.php
> without execute permissions:
> -rw-rw-rw

Please open a shell on that remote host, and show the output of

ls -al /tmp

> It seems to be happening inconsistantly/intermittently (sometimes to
> some files, but not other)
> At least I have not figured out a pattern.
> I can't seem to replicate it at the moment.

When you can reproduce it, I would like to see Tramp's debug buffer. You
could send it off-list, if it contains sensible information.

Best regards, Michael.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]