GNOME Bugzilla – Bug 553860
doesn't display a warning when trying to add a bookmark and there is disk space
Last modified: 2010-05-06 17:43:46 UTC
the bug has been opened on https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/222957 "Trigger the issue: Make sure the homefilesystem is full. In nautilus, click "add bookmark" from the menu or press Ctrl-D. The bookmark briefly appears in the bookmark sidebar, but then disappears again. "Edit bookmarks" shows the dialog but says "No bookmarks defined"."
The summary should probably read "doesn't display a warning when trying to add a bookmark and there is no disk space", or "nautilus can destroy bookmark file when it runs out of disk space". It also appears that bookmark file can also be corrupted (truncated to 0 byte) even when they are not edited (just used) while disk is full. I blame nautilus. In my case bookmarks just disappeared while navigating filesystem. It's OK that bookmark file can not be edited or appended when disk is full, but existing bookmarks should not be lost in any case. This is a data loss type of bug.
In my case all bookmarks got lost when the home filesystem was full. Luckily there was a .gtk-bookmarks~
I think the problem lies here: http://git.gnome.org./browse/nautilus/tree/src/nautilus-bookmark-list.c#n523 The third argument of g_file_replace, make_backup, is set to FALSE here.
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find. *** This bug has been marked as a duplicate of bug 561309 ***