https://bugs.kde.org/show_bug.cgi?id=495440

            Bug ID: 495440
           Summary: Additional mount options options are overrided by GUI
                    options (users takes priority over exec)
    Classification: Applications
           Product: partitionmanager
           Version: 24.08.2
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: andr...@stikonas.eu
          Reporter: sherigu...@gmail.com
  Target Milestone: ---

SUMMARY

All options mentioned below apply to a "Edit mount point" window.

When "users can mount and unmount" option is checked and "exec" option is
present in "More…" (additional mount options), the order is that additional
options go first in /etc/fstab, then "users" option is added (which is enabled
by checkbox mentioned above), but "users" implies "noexec", so "exec" is never
applied. To have both "users" and "exec", "exec" must go *after* "users" in
/etc/fstab. This seems impossible to do in KDE Partition Manager right now?

I edited /etc/fstab manually and moved "exec" after "users", now I have the
permissions I need. This wasn't the case when I used Partition Manager mount
point editor. I might be wrong here, but I think additional options im "More…"
window should go after the options selected by checkboxes in GUI. Turns our,
order matters.

Because of this issue I wasn't able to launch some software from my partition,
in particular games from Steam won't run when steam's game library is in a
partition whose mount options were chosen using KDE partition manager. 


STEPS TO REPRODUCE
1. Edit a mount point
2. Check the "users can mount and unmount" option
3. Add "exec" in "More…" window
4. "No binary execution" checkbox stays unchecked (I think this is the default)

OBSERVED RESULT
/etc/fstab has options "exec,users" for that partition, with "users" overriding
"exec" option because it goes after it. This results in a partition mounted
with "noexec", as this is implied by "users" option. 

EXPECTED RESULT
/etc/fstab should have options "users,exec" for that partition, resulting in
both "users" and "exec" working, this is most likely what a user expects when
adding "exec" in the "More…" window.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.2.2
KDE Frameworks Version: 6.7.0
Qt Version: 6.8.0

ADDITIONAL INFORMATION
Kernel Version: 6.11.5-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 16 × 12th Gen Intel® Core™ i5-12500H
Memory: 15.3 GiB of RAM
Graphics Processor: Mesa Intel® Graphics
Manufacturer: Acer
Product Name: Nitro AN515-58
System Version: V1.13

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to