symlinks are been resolved, instead of being directly treated
Submitted by alex bodnaru
Link to original bug (#425035)
Description
Please describe the problem: when the infrastructure of my system might change, the users' home directories should still remain /home/username. unfortunately, in case /home/username contains a link, gtk+ based applications are saving the pointed to path, instead of the link name, thus raising an obstacle when i wish to make this link point to another physical location.
Steps to reproduce:
- create an user account, and move his /home/username contents to /somewhere-else.
- symlink /somewhere-else to /home/username, login username, and activate gtk/gnome applications, add icons to panels etc.
- logout the user, and grep in /home/username for the string "/somewhere-else".
Actual results: the pointed to directory is beeing recorded in gtk+ programs.
Expected results: the /home/username string should be recorded, since this is the where the system would report a home directory. the same should follow if an user might have selected a file/location by a symlink.
Does this happen every time? yes, i can reproduce it in gtk+2.8 applications, and Sven Arvidsson sa@whiz.se, shich is debian maintainer for gtk+, said he reproduced it on 2.10
Other information: this has been reported long ago, at http://bugzilla.gnome.org/show_bug.cgi?id=59607
Version: 2.10.x