Bug 154206 - When trying to open a directory with insufficient permissions, do not change the URL and show an empty view
Summary: When trying to open a directory with insufficient permissions, do not change ...
Status: REOPENED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 2.1
Platform: Chakra Linux
: NOR wishlist
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-17 02:37 UTC by Shriramana Sharma
Modified: 2021-03-09 02:18 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Shriramana Sharma 2007-12-17 02:37:03 UTC
Version:            (using KDE KDE 3.97.0)
Installed from:    Ubuntu Packages
OS:                Linux

1. mkdir /tmp/foo
2. chmod -x /tmp/foo
3. Open Konqueror.
4. Go to some directory that you can read, if you want.
5. Try accessing /tmp/foo

Expected behaviour:

Konqueror must throw me an error without changing the current display if the new location (/tmp/foo) is not accessible.

Actual behaviour:

Konqueror clears the current tab first, then apparently it checks for the permission and throws me an error. This makes me lose my current directory view meaninglessly.

KDE 4 applicability:

Yes. Checked in KDE 4 RC 2 Kubuntu Live CD via VirtualBox.
Comment 1 Shriramana Sharma 2009-04-12 20:33:55 UTC
Still there in KDE 4.2.2 on Kubuntu Jaunty. Please confirm this bug.
Comment 2 Dawit Alemayehu 2012-01-03 16:34:27 UTC
This too is now an issue in the Dolphin KPart used by Konqueror for file management.
Comment 3 Adrián Chaves (Gallaecio) 2012-10-07 17:34:04 UTC
It works in Dolphin 2.1: http://image.bayimg.com/dadhnaael.jpg
Comment 4 Adrián Chaves (Gallaecio) 2012-10-07 17:36:41 UTC
Well, now that I think of it, I can confirm the “without changing the current display” is still not happening. However, I think that could be considered a feature request (wishlist).
Comment 5 Frank Reininghaus 2012-11-06 17:40:31 UTC
I agree that it's actually a wish. IMHO, the current behaviour is not buggy: You tell Dolphin/Konqueror to open an URL, it tries to do it and shows all files that can be shown to you (i.e., none).

I see that it might appear reasonable to change the behaviour, but this is far from trivial. Dolphin does not check the permissions at all - it asks KDirLister to open the directory, which is done asynchronously, so there is little we can do to stop the URL change when KDirLister signals that opening the directory is not possible.
Comment 6 Justin Zobel 2021-03-09 02:18:26 UTC
Thank you for the bug report.

As this report hasn't seen any changes in 5 years or more, we ask if you can please confirm that the issue still persists.

If this bug is no longer persisting or relevant please change the status to resolved.