all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Dave <dave@remove-spam-stringlake.demon.co.uk>
To: help-gnu-emacs@gnu.org
Subject: modtime out of sync with network drive
Date: Tue, 08 Sep 2009 10:52:14 +0100	[thread overview]
Message-ID: <jPppm.64261$hv7.62519@newsfe10.ams2> (raw)

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.

Any help gratefully appreciated.

thanks
Dave


             reply	other threads:[~2009-09-08  9:52 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-08  9:52 Dave [this message]
2009-09-09  3:49 ` modtime out of sync with network drive Barry Margolin
2009-09-09  7:45   ` Dave

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='jPppm.64261$hv7.62519@newsfe10.ams2' \
    --to=dave@remove-spam-stringlake.demon.co.uk \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.