help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Possible problem using emacs on mounted filesystem.


From: glen stark
Subject: Re: Possible problem using emacs on mounted filesystem.
Date: Thu, 27 Mar 2014 08:18:07 GMT
User-agent: Pan/0.139 (Sexual Chocolate; GIT bf56508 git://git.gnome.org/pan2)

On Wed, 26 Mar 2014 19:15:50 -0500, Barry Margolin wrote:

> In article <dBBYu.20785$C06.15746@fx35.am4>,
>  glen stark <g.a.stark@gmail.com> wrote:
> 
>> Hi everyone.
>> 
>> I'm not sure if this is an OS problem or an emacs problem.  The problem
>> only manifests itself for me on emacs, so I'm starting there.
>> 
>> I have a folder on an older linux server that I mount with the command:
>> 
>> sudo mount -t cifs -o username=xxx,uid=xxx //pdxenlin66/home/stg xenlin
>> 
>> I use emacs to edit the file.  I edit fine, but when I save the file,
>> the next time I try to edit the buffer I get the message "X changed on
>> disk; really edit the buffer?".
>> 
>> Does anyone have any idea what's going on here?  This is the first time
>> I have such an issue.
>> 
>> Thanks,  Glen
> 
> I think this typically means that the clocks are not synchronized
> between the client and server. The server's clock is ahead of the
> client, so when you save the file its modification time is newer than
> the time you saved.
> 
> Make sure you're running NTP on all machines to keep their clocks in
> sync.

Thanks for the insight.  I'm pretty sure you're right.  I'm having 
trouble with running ntp on the virtual machine that's running emacs.  
I'll have to try and figure out what's going on there.

G.


reply via email to

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