| Summary: | Mounting a partition configured to be mounted read-only mounts partition as writable. | ||
|---|---|---|---|
| Product: | [Applications] partitionmanager | Reporter: | bojanbl <tamkrneki+kde> |
| Component: | general | Assignee: | Andrius Štikonas <andrius> |
| Status: | REPORTED --- | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Debian stable | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | Edit Mount Point dialog | ||
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)