Bug 167943 - Places shortcut tries to mount filesystem handled by autofs
Summary: Places shortcut tries to mount filesystem handled by autofs
Status: REPORTED
Alias: None
Product: frameworks-kio
Classification: Frameworks and Libraries
Component: Places (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: KIO Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-01 07:36 UTC by Ivan D Vasin
Modified: 2022-01-24 19:27 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan D Vasin 2008-08-01 07:36:37 UTC
Version:           1.1 (using 4.1.00 (KDE 4.1.0), Gentoo)
Compiler:          i686-pc-linux-gnu-gcc
OS:                Linux (i686) release 2.6.26-zen2-01138-gbe698db

One of my filesystems is handled by autofs, so it is often unmounted, but is automatically mounted by autofs when I access it in a terminal or file browser. However, clicking on the shortcut to it in Dolphin's Places bar or the Device Notifier plasma widget causes Dolphin to attempt mounting the filesystem, bypassing autofs. This results in a "Permission Denied" message and prevents me from accessing the drive unless I browse to it by path. The expected behavior would be for Dolphin to recognize that the unmounted volume is handled by autofs and simply access the volume as if it was mounted, letting autofs do the mounting as needed.
Comment 1 David Palacio 2010-04-25 01:19:09 UTC
You could hide the places entry for the autofs mount point and add the folder as a place entry instead.
Comment 2 Andrew Crouthamel 2018-11-11 04:34:14 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Andrew Crouthamel 2018-11-21 04:36:47 UTC
Dear Bug Submitter,

This is a reminder that this bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? This bug will be moved back to REPORTED Status for manual review later, which may take a while. If you are able to, please lend us a hand.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Sebastian Frei 2019-01-12 15:21:07 UTC
This bug is still relevant, even for dolphin version 18.08.03.

The directory is mounted via x-systemd.automount via NFS on a remote server.

Using the shortcut under "Remote" a permission denied message pops up. Accessing the path e.g. via Konsole mounts the directory correctly.
Comment 5 cs 2020-11-10 12:55:22 UTC
This is one of the most annoying bugs in Dolphin.
Still present in Kubuntu 20.10  (Dolphin 20.08.2,KDE Frameworks 5.74.0)
Comment 6 Nate Graham 2022-01-23 04:16:24 UTC
Does this affect the file open/save dialogs too?
Comment 7 cs 2022-01-24 12:27:03 UTC
(In reply to Nate Graham from comment #6)
> Does this affect the file open/save dialogs too?

Just tested using Kate 21.12.0/KDE Frameworks 5.89.0:

In the file save dialog, there is no error message like in Dolphin, but selecting the unmounted volume fails on the first attempt (instead, the home folder gets selected). After this first unsuccessfull attempt, the volume icon changes from red to green, and afterwards I can select it.
(This is basically the same bevavior like in Dolphin, but without the error message that dolphin shows which doesn't disappear when mounting succeeds.)
Comment 8 Nate Graham 2022-01-24 19:27:00 UTC
Thanks.