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 463262 - Breaks if home directory is not writable
Breaks if home directory is not writable
Status: RESOLVED OBSOLETE
Product: gnome-vfs
Classification: Deprecated
Component: Other
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gnome-vfs maintainers
gnome-vfs maintainers
Depends on:
Blocks:
 
 
Reported: 2007-08-03 21:21 UTC by Sebastian Dröge (slomo)
Modified: 2013-09-12 10:40 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
debian-24_home_dir_fakeroot.patch (5.08 KB, patch)
2007-12-03 17:06 UTC, Jim Ramsay
none Details | Review

Description Sebastian Dröge (slomo) 2007-08-03 21:21:03 UTC
Hi,
gnomevfs breaks if the home directory is not writable. This for example is the case on the Debian build servers.

It would be good if gnomevfs also looks at the $HOME environment variable instead of just relying on the information supplied by g_get_home_dir() (which doesn't look at $HOME) so one could set another "home" directory that is writable.

Bye
Comment 1 Sebastian Dröge (slomo) 2007-08-04 09:25:18 UTC
Another solution would probably be to fail gracefully if ~/.gnome2 is not writable by simply disabling all features that need this. From a short look at the code I only found one place where it is added to the module search patch, doesn't sound to critical does it?
Comment 2 Sebastian Dröge (slomo) 2007-11-26 08:21:35 UTC
A patch that is now used by Debian can be found at:
http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gnome-vfs2/debian/patches/24_home_dir_fakeroot.patch?op=file&rev=0&sc=0
Comment 3 Jim Ramsay 2007-12-03 17:06:26 UTC
Created attachment 100125 [details] [review]
debian-24_home_dir_fakeroot.patch

This is the actual patch referenced earlier.
Comment 4 Sebastian Dröge (slomo) 2013-09-12 10:40:40 UTC
As gnome-vfs is deprecated, let's get rid of this bug.