Bug 506472

Summary: regression: overlay padlock icon does not evaluate ACLs
Product: [Frameworks and Libraries] frameworks-kio Reporter: Andreas Mundt <and1bm>
Component: generalAssignee: KIO Bugs <kio-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: accounts+kde, dolphin-bugs-null, kdelibs-bugs-null, meven
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

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