Bug 462804 - "No binary execution" checkbox does not explicitly specify "exec" option
Summary: "No binary execution" checkbox does not explicitly specify "exec" option
Status: REPORTED
Alias: None
Product: partitionmanager
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Andrius Štikonas
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-09 02:06 UTC by ratijas
Modified: 2025-12-15 21:53 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ratijas 2022-12-09 02:06:28 UTC
SUMMARY

"No binary execution" adds a "noexec" option if it is checked. But it does nothing when unchecked, assuming that default (no option) means exec. But in fact (at least on Arch Linux) omitting these options is equivalent to noexec by default. So, in GUI there's no way to customize a mount point for an external partition which would allow running binaries from it.

STEPS TO REPRODUCE
1. Unmount some partition
2. Edit Mount Point properties
3. Uncheck "No binary execution" checkbox.
4. Save and remount.

OBSERVED RESULT
There's no "exec" option in fstab; partition is mounted with "noexec" by default; can't run binaries and scripts.

EXPECTED RESULT
Exactly the opposite.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.26.4
KDE Frameworks Version: 5.100.0
Qt Version: 5.15.7
Kernel Version: 6.0.11-arch1-1 (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i7-8565U CPU @ 1.80GHz
Memory: 15.3 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 620
Manufacturer: LENOVO
Product Name: 20QD003CRT
System Version: ThinkPad X1 Carbon 7th
Comment 1 ratijas 2022-12-09 02:14:09 UTC
I think the checkbox could be a tri-state: explicitly ON, explicitly OFF, and "leave it alone" middle state.
Comment 2 Tom Fucoloro 2025-12-15 21:53:18 UTC
I just created the Bug 513418 report that could possibly be solved together with this one. The tri-state selector idea could be a great addition that helps users easily troubleshoot mounting problems. Perhaps the middle option should be called "default." I am not knowledgeable enough about fstab to know if there would be unintended consequences for selecting exec in other mounting situations.