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 502987 - Double click on desktop icons opens gedit when $HOME is under /mnt
Double click on desktop icons opens gedit when $HOME is under /mnt
Status: RESOLVED OBSOLETE
Product: gnome-desktop
Classification: Core
Component: general
2.20.x
Other All
: Normal normal
: ---
Assigned To: Desktop Maintainers
Desktop Maintainers
: 510790 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2007-12-11 06:57 UTC by Mark Hoebeke
Modified: 2009-06-15 20:14 UTC
See Also:
GNOME target: ---
GNOME version: 2.19/2.20



Description Mark Hoebeke 2007-12-11 06:57:52 UTC
Please describe the problem:
Whenever users have their home directories under /mnt, a double click on a launcher icon of the desktop does not launch the underlying application but opens gedit on the .desktop file itself.

Steps to reproduce:
1. Create a user whose home directory is under /mnt
#mkdir -p /mnt/bogushomes
#useradd -c "Desktop Test User" -d /mnt/bogushomes/dtuser -m dtuser
#passwd dtuser
(...)
2. Log in as dtuser using GDM.
3. Drag the (gnome-)Terminal icon from one of the menus onto the desktop.
4. Double click on the Terminal icon on the desktop.


Actual results:
The editor (gedit) opens displaying the contents of the Terminal .desktop file

Expected results:
A Terminal window should open.

Does this happen every time?
Yes.

Other information:
The Terminal app was just taken as an example. The behaviour occurs with any launcher on the desktop.
Comment 1 Mark Hoebeke 2007-12-11 07:00:17 UTC
Forgot to mention ; /mnt is in no way present in /etc/fstab, so it is an "ordinary" directory and no special mount point.
Comment 2 Vincent Untz 2008-01-08 00:36:34 UTC
I believe it's a feature (to avoid possible security problems). But if $HOME is in /mnt, it shouldn't happen. Not sure if it's a gnome-vfs or a nautilus thing... Will try to look at it.
Comment 3 Vincent Untz 2008-01-20 20:07:14 UTC
*** Bug 510790 has been marked as a duplicate of this bug. ***
Comment 4 Vincent Untz 2008-01-20 20:07:54 UTC
Bug 478599 might be related to this too...
Comment 5 Vincent Untz 2008-12-05 01:30:52 UTC
Seems to be working with the switch to gvfs. Is it working in GNOME 2.24 for you?
Comment 6 Tobias Mueller 2009-06-15 18:58:45 UTC
Mark, is there any chance you can test this with a more recent GNOME?
Comment 7 Mark Hoebeke 2009-06-15 19:41:04 UTC
(In reply to comment #6)
> Mark, is there any chance you can test this with a more recent GNOME?
> 

Actually yes. With GNOME 2.26.1 the (bug|feature) has gone. Everything works as expected.

Thanks for asking anyway.


Comment 8 Tobias Mueller 2009-06-15 20:14:10 UTC
*yay* Thank you for you highly appreciated feedback!

I am closing this bug as OBSOLETE then. If there is anything to add, feel free to reopen. Also, I invite you to report more bugs you find in GNOME :)