Bug 513877 - Mounting a partition configured to be mounted read-only mounts partition as writable.
Summary: Mounting a partition configured to be mounted read-only mounts partition as w...
Status: REPORTED
Alias: None
Product: partitionmanager
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Debian stable Linux
: NOR normal
Target Milestone: ---
Assignee: Andrius Štikonas
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-12-27 13:59 UTC by bojanbl
Modified: 2025-12-27 13:59 UTC (History)
0 users

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


Attachments
Edit Mount Point dialog (115.83 KB, image/png)
2025-12-27 13:59 UTC, bojanbl
Details

Note You need to log in before you can comment on or make changes to this bug.
Description bojanbl 2025-12-27 13:59:20 UTC
Created attachment 188021 [details]
Edit Mount Point dialog

SUMMARY
Mounting a partition configured to be mounted read-only mounts partition as writable.

STEPS TO REPRODUCE
1. Open KDE Partition Manager and select a partition
2. Select 'Edit Mount Point' action
3. Enable 'Read-only' option. Configure path as desired. See screenshot. Press the OK button to apply changes and close dialog.
4. Select and execute 'Mount' action

OBSERVED RESULT
Partition is mounted as writable. I can create files on the partition. Executing 'mount' command confirms that partition is mounted as writable.
$ mount
/dev/sdb2 on /mnt/windiske type fuseblk (rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096)


EXPECTED RESULT
Partition should be mounted read-only as configured in the 'Edit Mount Point' dialog.


SOFTWARE/OS VERSIONS
Operating System: Debian GNU/Linux 13
KDE Plasma Version: 6.3.6
KDE Frameworks Version: 6.13.0
Qt Version: 6.8.2
Kernel Version: 6.12.57+deb13-amd64 (64-bit)

ADDITIONAL INFORMATION
Note that entry created in the '/etc/fstab' file is correct.
$ cat /etc/fstab
UUID=697AA42F7AA3E7CD                       /mnt/windiske    ntfs          nofail,ro        0 0

Unmounting the partition and mounting it from command-line with e.g. with 'mount -a' will mount the partition as read-only.
$ sudo umount /dev/sdb2
$ sudo mount -a
$ mount
/dev/sdb2 on /mnt/windiske type fuseblk (ro,relatime,user_id=0,group_id=0,allow_other,blksize=4096)