Public bug reported:

Binary package hint: gedit

Gedit fails on open files located on cifs mounts when mounted with the
directio option.  That particular option is used to disable caching on
the mount so that legacy databases (i.e., dbase) can be accessed and
modified without causing data corruption.

Gedit is otherwise capable of creating and saving files on such a mount
(although it gives 'file may have been modified' warnings), giving rise
to the confusing situation where one can create a file in gedit, close
gedit, and be unable to reopen that file in gedit, even though cat, vim,
openoffice and so forth can all open the file without complaint.

I _think_ this may be related to the mmap behaviour mentioned here:
> gedit (2.13.0-0ubuntu1) dapper; urgency=low
> ...
>    - Reading and writing of files are now handled in an
>      asynchronous way (so the user interface never blocks)
>    - Local files are read using mmap (when possible)
as the directio option apparently breaks mmap.  Nonetheless, most other apps 
seem to be handling this fine.

** Affects: gedit (Ubuntu)
     Importance: Undecided
         Status: Unconfirmed

-- 
file open fails on cifs mount with directio option set
https://launchpad.net/bugs/81573

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

Reply via email to