Bug 200897 - gnome-base/gnome-vfs does not respect $HOME
Bug#: 200897 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: gnome@gentoo.org Reported By: lack@gentoo.org
Component: GNOME
URL: 
Summary: gnome-base/gnome-vfs does not respect $HOME
Keywords:  
Status Whiteboard: 
Opened: 2007-12-01 01:03 0000
Description:   Opened: 2007-12-01 01:03 0000
This reported upstream as http://bugzilla.gnome.org/show_bug.cgi?id=463262

The short description: When gnome-vfs is looking for plugins, it tries to
create ~/.gnome2/ - However, this does not respect $HOME, it gets the value
directly from /etc/passwd

It manifests as a sandbox violation in the fluxbox ebuild, - see bug 179333 for
more details.

The patch mentioned in the gnome.org bug from Debian looks like a reasonable
solution to me.  I will attach a copy of it to this bug.

------- Comment #1 From Jim Ramsay 2007-12-01 01:06:55 0000 -------
I can't figure out how to easily download the debian patch, here's a link to
their syntax-highlighted SVN-viewer version:

http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gnome-vfs/debian/patches/24_home_dir_fakeroot.patch?op=file&rev=0&sc=0

------- Comment #2 From Jim Ramsay 2007-12-03 17:03:32 0000 -------
Created an attachment (id=137628) [details]
debian-24_home_dir_fakeroot.patch

Figured it out, attaching the patch now.

------- Comment #3 From Jim Ramsay 2007-12-27 19:52:14 0000 -------
Note: This is the cause of a sandbox violation in the fluxbox ebuild.  I would
appreciate a little feedback on whether or not this is even feasible for you
gnome folks to fix, or if I should just try to work around it in my own ebuild?

------- Comment #4 From Gilles Dartiguelongue 2008-01-16 22:43:14 0000 -------
patch included, doesn't seem to brake anything (yet ;))