After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 561309 - Existing bookmarks in nautilus disappear when the disk partition gets full
Existing bookmarks in nautilus disappear when the disk partition gets full
Status: RESOLVED OBSOLETE
Product: nautilus
Classification: Core
Component: Bookmarks
2.22.x
Other All
: Normal critical
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
: 553860 (view as bug list)
Depends on: 532911
Blocks:
 
 
Reported: 2008-11-18 05:29 UTC by Mohan Raj R
Modified: 2021-06-18 15:15 UTC
See Also:
GNOME target: ---
GNOME version: 2.21/2.22



Description Mohan Raj R 2008-11-18 05:29:17 UTC
Please describe the problem:
I use the bookmarks in nautilus frequently. I have 10 to 15 bookmarks. But whenever my hard disk gets full, the bookmarks disappear. This is the third time this is happening. I checked the ~/.gtk-bookmarks file. It is empty. Worser, there is no backup for this file. Hence I have to rebuild my bookmarks from scratch every time this happens, which is painful.

The first time this happened, I observed that many gnome applications were behaving strangely as well. Crashing or not-responding in this circumstance is ok. But loosing data should be avoided. Maybe at least if a backup was present, we could restore from it. This problem will now be experienced by more people with the advent of netbooks with limited space (I myself am using an eee-pc with a 80GB HDD which fills up frequently).

I installed the OS (ubuntu 8.04) in a single partition with a swap partition. May be having a separate partition for /tmp will solve the problem. Have not tried it yet. But anyway this should not happen either way.

Steps to reproduce:
1. Install Ubuntu 8.04 in a single partition.
2. Open Nautilus and bookmark a couple of items.
3. Open ~/.gtk-bookmarks file and observe that the bookmarks are there.
4. Fill up the disk (/ partition).


Actual results:
5. Open Nautilus and observe that the bookmarks are lost.
6. Open ~/.gtk-bookmarks file and observe that the bookmarks are lost.

Expected results:
The bookmarks should not disappear.

Does this happen every time?
Yes.

Other information:
Comment 1 Cosimo Cecchi 2008-12-30 10:22:58 UTC
This happens for the way Nautilus has of using the .gtk-bookmarks file, i.e. reading and writing the full file when saving.
We need to consider this when fixing bug 532911.
Comment 2 PhobosK 2009-05-17 23:14:26 UTC
I confirm this bug for Nautilus 2.24.1, Ubuntu Intrepid.
It is really very annoying losing data and configuration files :(
Should be fixed ASAP.
Comment 3 Ramūnas Gutkovas 2009-11-03 14:31:05 UTC
The same bug in Ubuntu Karmic Koala 9.10.

Nautilus 2.28.1
Comment 4 Cosimo Cecchi 2010-05-06 17:43:46 UTC
*** Bug 553860 has been marked as a duplicate of this bug. ***
Comment 5 Hendrik Lönngren 2010-05-16 14:32:26 UTC
See my comment in the duplicate. Now the code has changed, however, the current location where I suspect the error, is here:

http://git.gnome.org/browse/nautilus/tree/src/nautilus-bookmark-list.c?id=e6a7039162d4eb37afe329cc4d8378f9edb446c7#n591

My guess is that FALSE (for make_backup) should be TRUE.
Comment 6 André Klapper 2021-06-18 15:15:15 UTC
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org.
As part of that, we are mass-closing older open tickets in bugzilla.gnome.org
which have not seen updates for a longer time (resources are unfortunately
quite limited so not every ticket can get handled).

If you can still reproduce the situation described in this ticket in a recent
and supported software version of Files (nautilus), then please follow
  https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines
and create a new ticket at
  https://gitlab.gnome.org/GNOME/nautilus/-/issues/

Thank you for your understanding and your help.