https://bugs.kde.org/show_bug.cgi?id=517067
Bug ID: 517067
Summary: Dolphin fails to preserve "group" attribute during
copy operations
Classification: Applications
Product: dolphin
Version First 25.12.1
Reported In:
Platform: Debian unstable
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Target Milestone: ---
Created attachment 190330
--> https://bugs.kde.org/attachment.cgi?id=190330&action=edit
example to reproduce the problem (by manually running the commands)
SUMMARY
In Dolphin file manager, copying subdirectories does not preserve the "group"
attribute, while moving (cutting and pasting) does. This issue affects the
correct handling of group ownership for directories during copy operations.
STEPS TO REPRODUCE
1. Create a test directory structure:
mkdir -pv test/{1,2,1/11}
groupadd testgroup
chgrp testgroup test/1 test/1/11
date > test/1/file.txt
chgrp testgroup test/1/file.txt
ls -llR test/
**Expected Output:**
- `test/1` and `test/1/11` have group `testgroup`.
- `test/1/file.txt` has group `testgroup`.
2. Copy `test/1` into `test/2` using Dolphin:
- Select `test/1`, copy, then paste into `test/2`.
3. Check ownership of copied directories:
ls -ld test/{1,1/11} test/2/{1,1/11}
**Actual Output:**
- `test/2/1` and `test/2/1/11` have group `root` (incorrect).
4. Repeat the same operation using `cp` (bash command):
cp -av test/1 test/3
ls -ld test/{1,1/11} test/3/{1,1/11}
**Expected Output:**
- `test/3/1` and `test/3/1/11` retain group `testgroup`.
EXPECTED RESULT
- Copying subdirectories via Dolphin should preserve the "group" attribute,
matching the behavior of moving (cutting and pasting) or command-line tools
like `cp`.
- The problem is specific to copying directories, not individual files.
Notes:
- This bug makes it difficult to rely on Dolphin to manage permissions,
especially in environments that require proper permission.
SOFTWARE/OS VERSIONS
Operating System: Debian GNU/Linux forky/sid
KDE Plasma Version: 6.5.4
KDE Frameworks Version: 6.23.0
Qt Version: 6.9.2
--
You are receiving this mail because:
You are watching all bug changes.