[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: modtime out of sync with network drive
From: |
Dave |
Subject: |
Re: modtime out of sync with network drive |
Date: |
Wed, 09 Sep 2009 08:45:33 +0100 |
User-agent: |
Thunderbird 2.0.0.23 (Windows/20090812) |
Barry Margolin wrote:
> In article <jPppm.64261$hv7.62519@newsfe10.ams2>,
> Dave <dave@remove-spam-stringlake.demon.co.uk> wrote:
>
>> Hello,
>>
>> I am using emacs 22.2.1 on ubuntu 9.04. I have a network drive attached
>> (Buffalo linkstation pro duo - I think it's a samba share) and I have
>> the drive mounted automatically as a cifs filesystem. This works fine
>> for everything I do in ubuntu - permissions, running commands, copying etc.
>>
>> The only problem I have is that when I'm editing a file on the drive in
>> emacs, everytime I save the file the buffer recorded modtime and file
>> attribute modtime get out of sync. This means the next mod I make to the
>> buffer I get the 'file has changed on disc etc' message. This is a real
>> hassle.
>>
>> As an example, immediately after a recent save, the modtime as given by
>> visited-file-modtime was 9454, but by file-attribute was 9438. These are
>> both different to the value before the save which was 9407 for both.
>
> Use NTP to ensure that the clocks on your computer and server are in
> sync.
>
Thanks - I'd thought ntp was already on on my drive, but it wasn't. That
seems to have worked.