Thank you, Michael, for helping figure it out.
on windows host I open a remote file from a linux host:
Initially permissions have execute bit on:
Then after edits I save
and emacs generates a backup tmp.php~
and creates the new version tmp.php
without execute permissions:
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.
re: enough rights
should not be the case since it happens even when user is root
either root or regular user, but again should not matter for root user?
re: expected permissions
ideal case - keep same permissions as the file had before update.
On Tue, Sep 4, 2012 at 11:35 AM, Michael Albinus <address@hidden>
Konstantin Weiner <address@hidden> writes:
> Hi Michael
Your local machine runs MS Windows. Do you have problems, when copying
> My versions:
> Emacs : GNU Emacs 188.8.131.52 (i386-mingw-nt5.1.2600)
> of 2011-09-19 on 3249CTO
> Package: tramp (2.2.4)
local files to remote, or vice versa?
If not (you copy only remote files), it might be that you don't have
enough karma to change file permission on the target file. Maybe you
could give us a concrete example? Source file name, target file name,
ownership of both files and the upper directory, expected permissions,
And maybe you could run a test, when tramp-verbose is set to 6. The
resulting debug buffer could tell us more.
Best regards, Michael.