SUMMARY KDE Partition Manager creates encrypted EXT4 USB HDD partitions that are read only as the user - requires sudo to be able to write. STEPS TO REPRODUCE 1. Insert USB HDD (do not mount) 2. Open KDE Partition Manager 3. Identify HDD, delete existing partitions (and if desired, partition table). 4. Create new partition (and table if removed), select EXT4 w/LUKS encryption. 6. Provide password. 7. Selecting either "everybody" or "root" doesn't make a difference for this issue (i tried both). 8. Finalise partition creation. 9. Mount HDD, input password. 10. HDD mounts in /run/media/[user]/[label] 11. Try to create/copy a file using Dolphin or Terminal as user. OBSERVED RESULT - As the user - read access works, write access = permission denied in terminal. In Dolphin, the 'new' or 'paste' option is greyed out or not present. - Using sudo, i could write files via the terminal. EXPECTED RESULT Should be able to copy files or create files as user. SOFTWARE/OS VERSIONS Linux/KDE Plasma: Nobara 38 KDE Plasma Version: 5.27.8 KDE Frameworks Version: 5.109.0 Qt Version: 5.15.10 ADDITIONAL INFORMATION I performed the relevant procedure in gnome-disk-utility with the same hardware, and it worked as expected. I could write files to the HDD after i mount and input the password.
Git commit 5b3de00b164f21c39dda05b7769b2a3bc0ffe259 by Andrius Štikonas. Committed on 26/11/2023 at 19:37. Pushed by stikonas into branch 'master'. Add support for setting permissions on LUKS encrypted file systems. M +5 -0 src/fs/luks.cpp M +4 -0 src/fs/luks.h M +7 -1 src/jobs/changepermissionsjob.cpp https://invent.kde.org/system/kpmcore/-/commit/5b3de00b164f21c39dda05b7769b2a3bc0ffe259