Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 200897 - gnome-base/gnome-vfs does not respect $HOME
Summary: gnome-base/gnome-vfs does not respect $HOME
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 179333
  Show dependency tree
 
Reported: 2007-12-01 01:03 UTC by Jim Ramsay (lack) (RETIRED)
Modified: 2008-01-16 22:43 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
debian-24_home_dir_fakeroot.patch (24_home_dir_fakeroot.patch,5.08 KB, patch)
2007-12-03 17:03 UTC, Jim Ramsay (lack) (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jim Ramsay (lack) (RETIRED) gentoo-dev 2007-12-01 01:03:03 UTC
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 Jim Ramsay (lack) (RETIRED) gentoo-dev 2007-12-01 01:06:55 UTC
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 Jim Ramsay (lack) (RETIRED) gentoo-dev 2007-12-03 17:03:32 UTC
Created attachment 137628 [details, diff]
debian-24_home_dir_fakeroot.patch

Figured it out, attaching the patch now.
Comment 3 Jim Ramsay (lack) (RETIRED) gentoo-dev 2007-12-27 19:52:14 UTC
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 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-01-16 22:43:14 UTC
patch included, doesn't seem to brake anything (yet ;))