On Thursday 17 February 2005 23:37, Michael Albinus wrote:
> > auto-save-file-name-transforms's value is
> > (("\\`/[^/]*:\\(.+/\\)*\\(.*\\)" "/tmp/\\2"))
>
> Hmm. That explains your filename. In my case I have
> (("\\`/[^/]*:\\([^/]*/\\)*\\([^/]*\\)\\'" "/tmp/\\2" t))

OK!

> I'm not using the Debain-provided Emacs (sorry, Jérôme) but Emacs
> 22.0.50 from CVS. Applying Debian's emacs21 I have the same filename
> as you. And the access rights are 0600, as expected.
>
> Could you, please, check whether the auto-save file exists _before_
> you start editing? The access rights will be set only creating that
> file; afterwards they are not touched.

Ah, OK, that probably does explain something. Something really weird happened, 
that I don't fully grok, suddenly my permissions were changed, and since I 
also the laptop crash on an empty battery while frantically trying to 
complete some stuff, most likely, an old auto-save file was present. 

If I remove the file, then it does indeed inherit the 0600. 

So, I guess I could make this into a wishlist bug for updating the permissions 
if they have been altered on the remote system? :-)

Cheers,

Kjetil

Reply via email to