GNU bug report logs - #19607
issue with Emacs 24.4.1 but not with 24.3.1 : changed on disk; really edit the buffer

Previous Next

Package: emacs;

Reported by: Bertrand Brelier <bertrand.brelier <at> gmail.com>

Date: Thu, 15 Jan 2015 16:51:01 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


Message #59 received at 19607 <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Jakob Unterwurzacher <jakobunt <at> gmail.com>
Cc: 19607 <at> debbugs.gnu.org, Bertrand Brelier <bertrand.brelier <at> gmail.com>
Subject: Re: issue with Emacs 24.4.1 but not with 24.3.1 : changed on disk;
 really edit the buffer
Date: Tue, 27 Jan 2015 20:56:26 -0800
Jakob Unterwurzacher wrote:
> The kernel caches FUSE stat() values for 1 second by default, this defeats
> emacs' workaround.
> Passing "-o attr_timeout=0" to encfs disables that cache.

Looking at the fuse man page, it appears that if one uses EncFS atop a network 
file system, the mount should not use the kernel_cache option, and should use 
the auto_cache option or perhaps ac_attr_timeout=0 (the man page is unclear 
about all this, unfortunately).  Perhaps EncFS should use appropriate settings 
for these options by default if it determines that the underlying file system is 
network-based.

Anyway, assuming "-o attr_timeout=0" (or something similar) solves the problem, 
we do have a workaround now.




This bug report was last modified 10 years and 64 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.