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 121578 - Hardwired paths in config files cause problems
Hardwired paths in config files cause problems
Status: RESOLVED NOTABUG
Product: GConf
Classification: Deprecated
Component: gconf
unspecified
Other Linux
: Normal normal
: ---
Assigned To: GConf Maintainers
GConf Maintainers
Depends on:
Blocks:
 
 
Reported: 2003-09-06 02:26 UTC by Nathaniel Taylor
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.0



Description Nathaniel Taylor 2003-09-06 02:26:33 UTC
Description of Problem:
(relevant to gnome-2.2.1, from a Gentoo
distribution, and probably all other versions..)

When gnome is first run, the homedir config files
are written hard-wired to the current environment
variables.  If the user has the same home
directory on different computers that have it
mounted on different paths or that give the user a
different name (but not uid), this makes gnome
have such failures as no file-manager access to
the home directory.    

All these username and path dependent settings
should be read afresh on  login.  
Also, as many stored paths (e.g. a list of recent
files) as possible should be stored with any
initial home-directory path replaced by ~/ .



Q  How often does this happen? 
A  always, in the situation described
Comment 1 Havoc Pennington 2003-09-06 04:14:33 UTC
At the moment this is a bug in the apps storing those settings. 
There's an open bug to add a convenience get/set_filename 
function to gconf to allow apps to get this right more easily.
But for now it has to be fixed in the specific apps so you'd file 
a bug against them.

I'm not going to bother to find the "add get/set_filename" feature 
request to mark this as a dup, but you may want to get on the cc list 
for that bug if you're interested.