[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: TRAMP corrupting files (it's OS X's fault)
From: |
Michael Albinus |
Subject: |
Re: TRAMP corrupting files (it's OS X's fault) |
Date: |
Tue, 26 May 2009 21:57:23 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.94 (gnu/linux) |
Daniel Colascione <danc@merrillpress.com> writes:
> On May 18, 2009, at 9:40 PM, Will Willis wrote:
>> I'm going to start using rsync to see if that helps.. I wish I were
>> making this up. I've had files corrupt on me as many as 3 times in one
>
> I ran into the same problem. It's actually OS X's fault: OS X (at
> least 10.5) doesn't give Emacs any locale environment variables. Emacs
> guesses it's running under 8859-1, which has disastrous consequences
> for tramp. (If you want to test it, run locale under eshell. In the
> terminal, you see the expected locale output because Terminal.app
> *itself* sets up the correct environment before running your shell.)
Tramp cannot solve the problem, as said. But it might be worth to know,
that Tramp supports the `file-precious-flag' variable. If it is set to
`t', Tramp signals an error, when the remote file is corrupted during
copying.
Best regards, Michael.