I am sure this is not a proper way to fix it but I don't know enough
about gedit to trace this all the way. From what I can tell though the
error spawns in gedit-local-document-saver.c and it doesn't occur in vi:

 if (lsaver->priv->doc_mtime > 0 &&
            statbuf.st_mtime != lsaver->priv->doc_mtime &&
            ((saver->flags & GEDIT_DOCUMENT_SAVE_IGNORE_MTIME) == 0))
        {
                g_set_error (&lsaver->priv->error,
                             GEDIT_DOCUMENT_ERROR,
                             GEDIT_DOCUMENT_ERROR_EXTERNALLY_MODIFIED,
                             "Externally modified");

                goto out;
        }

I've tried setting ahead and behind times on both server but I still
keep getting the error. Finally I commented out the entire if statement
and rebuild gedit. Works fine now but I am definitely missing out on
time stamp changes. Right now it's so frustrating though and I love the
editor so until gedit team has an official fix this will do.

-- 
gedit fails to save files over smbfs/cifs
https://bugs.launchpad.net/bugs/34813
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is a direct subscriber.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to