I am running emacs26 on an ubuntu azure VM and am running into problems when trying to save files on a particular mounted CIFS volume. Emacs will randomly ask "has changed since visited or saved. Save anyway? (yes or no)". When saving to local home storage this is not an issue. I've tried suggestions from this thread: Emacs: how to disable 'file changed on disk' checking? but none have worked. I have tried adding
(defun ask-user-about-supersession-threat (fn)
"ignore")
(defun ask-user-about-lock (file opponent)
"always grab lock"
t)
to my .emacs file and this does not help.
Suggestions?