https://bugs.kde.org/show_bug.cgi?id=487237
Bug ID: 487237 Summary: Creating compressed archives in read-only directory Classification: Applications Product: dolphin Version: 24.02.2 Platform: Arch Linux OS: Linux Status: REPORTED Severity: minor Priority: NOR Component: general Assignee: dolphin-bugs-n...@kde.org Reporter: d...@alvinylt.net CC: kfm-de...@kde.org Target Milestone: --- Created attachment 169618 --> https://bugs.kde.org/attachment.cgi?id=169618&action=edit Compressing a file located in a directory with write permissions SUMMARY By right-clicking files in Dolphin, there is an option "Compress" to create TAR/7z/ZIP/etc. archives. If the files are set with r-- (4) or r-x (5) permissions, the "Compress" option is greyed out. Otherwise, the option is available even if the directory in which the files are located is set as read-only. In other words, the "Compress" option can be chosen even when the user has no permission to write to the directory. Dolphin claims that the compression is finished although the archive is not created. STEPS TO REPRODUCE 1. Find a read-only directory (or chmod 500 to remove write permissions). 2. Open the directory using Dolphin. 3. Right-click on a file or subdirectory. 4. Choose an option under "Compress". OBSERVED RESULT Dolphin produces a notification stating "Compressed ... files (Finished)" although the archive is not created. EXPECTED RESULT The "Compress" option should be greyed out, or Dolphin should notify the user that permission is denied. SOFTWARE/OS VERSIONS Linux/KDE Plasma: Arch Linux KDE Plasma Version: 6.0.4 KDE Frameworks Version: 6.2.0 Qt Version: 6.7.0 -- You are receiving this mail because: You are watching all bug changes.