[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: modtime out of sync with network drive
From: |
Barry Margolin |
Subject: |
Re: modtime out of sync with network drive |
Date: |
Tue, 08 Sep 2009 23:49:31 -0400 |
User-agent: |
MT-NewsWatcher/3.5.3b3 (Intel Mac OS X) |
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.
--
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
*** PLEASE don't copy me on replies, I'll read them in the group ***