I mount the sshfs file system using
% sshfs remote.host.org:/home/jrm /home/mnt/remote.host
then edit the file on this file system with
% emacsclient -n /home/mnt/remote.host/some_file.c.
When I save the file, I get a warning
some_file.c has changed since visited or saved. Save anyway? (yes or no)
Other editors do not have this problem. What causes this? How can I prevent this? Both hosts work ntp, but the time is the same.
TIA.
PS I know that I can open files directly with tramp, but I prefer sshfs, believing that I can get rid of this warning every time I try to save the file.
source share