GNOME Bugzilla – Bug 463262
Breaks if home directory is not writable
Last modified: 2013-09-12 10:40:40 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
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?
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
Created attachment 100125 [details] [review] debian-24_home_dir_fakeroot.patch This is the actual patch referenced earlier.
As gnome-vfs is deprecated, let's get rid of this bug.