Bug 436961

Summary: Dolphin doesn't properly handle file/folder ownership changes
Product: [Applications] dolphin Reporter: popov895 <popov895>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: bugseforuns, kfm-devel
Priority: NOR    
Version: 21.04.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description popov895 2021-05-12 09:26:50 UTC
SUMMARY

When changing the ownership of the file/folder, Dolphin doesn't show these changes until you manually refresh the view. Also, before manually refreshing the view. Dolphin shows the old file/folder ownership information in the file/folder properties window. I'm not sure if this is exactly a Dolphin issue.

STEPS TO REPRODUCE

1. Create file and set it permission to 750 (chmod 750 file);
2. Set file ownership to root (sudo chown root:root file) - the icon still shows that we can read/write this file;
3. Open the properties window of this file (select it and press Alt+Enter) - ownership is still set to the current user;
5. Manually refresh the view (press F5) - now the icon shows that we can't read/write this file;
6. Open the properties window of this file - ownership is set to the root.

SOFTWARE/OS VERSIONS

Linux/KDE Plasma: KDE neon 5.21 User Edition / X11
KDE Plasma Version: 5.21.5
KDE Gear Version: 21.04.0
KDE Frameworks Version: 5.81.0
Qt Version: 5.15.2
Comment 1 popov895 2021-05-12 09:27:31 UTC
Same on the latest openSUSE Tumbleweed.
Comment 2 Patrick Silva 2021-05-30 21:17:04 UTC

*** This bug has been marked as a duplicate of bug 416995 ***