Bug 506472 - regression: overlay padlock icon does not evaluate ACLs
Summary: regression: overlay padlock icon does not evaluate ACLs
Status: CONFIRMED
Alias: None
Product: frameworks-kio
Classification: Frameworks and Libraries
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: KIO Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-07-02 07:18 UTC by Andreas Mundt
Modified: 2025-09-27 16:51 UTC (History)
4 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 Andreas Mundt 2025-07-02 07:18:37 UTC
Hi,
dolphin seems not to evaluate permissions from ACLs when displaying a padlock icon (or not) to indicate access on files or directories. I reported the bug already in the Debian BTS https://bugs.debian.org/1108332 , but perhaps someone more familiar with the code can help here.  

STEPS TO REPRODUCE
  mkdir testACLs
  sudo chown nobody:nogroup testACLs
  sudo chmod 750 testACLs

A lock on the folder icon appears in dolphin, correctly indicating that the user cannot access the folder content.  Eventually reload dolphin pressing F5.

  touch testACLs/file   →  permission denied
  sudo setfacl -m u:$USER:rwx testACLs
  touch testACLs/file   →  works fine

OBSERVED RESULT
The padlock icon remains in dolphin.

EXPECTED RESULT
The padlock icon disappears when the user has access.

SOFTWARE/OS VERSIONS
Details: https://bugs.debian.org/1108332
Comment 1 Méven 2025-09-10 12:59:01 UTC
ACL permission are not properly checked anymore.

Seems like a regression from https://invent.kde.org/frameworks/kio/-/merge_requests/1221