[Top][All Lists]

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

Re: tramp (2.0.51); sudo method changes permissions

From: Michael Albinus
Subject: Re: tramp (2.0.51); sudo method changes permissions
Date: Wed, 09 Nov 2005 23:26:17 +0100
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

"Otto Maddox" <address@hidden> writes:

> I have repeated it (on a different machine, but the effect is the
> same).  The requested buffers are attached.  Hope it helps.

Hmm, I'm still analyzing. Your debug output is very interesting; I've
compared it with mine.

With Emacs 22.0 (and also 21.4), we have more or less the same traces,
except that you use uudecode on the remote side (which sets always
0600 permissions), and I use mimencode, which grants the umask
settings. That's why we have different file permissions.

But Emacs should reset the file permissions when backing up! And
indeed, when I apply Emacs 20.7, there is a final `set-file-modes'
call from `basic-save-buffer', the Emacs function which creates the
backup files. I have no idea yet why this does not happen with Emacs
21 & 22; I'll continue to debug tomorrow.

Best regards, Michael.

reply via email to

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