Bug 495789 - Make mount points user-settable
Summary: Make mount points user-settable
Status: CLOSED NOT A BUG
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 24.08.2
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-11-04 12:24 UTC by Uwe Dippel
Modified: 2024-11-04 17:58 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Uwe Dippel 2024-11-04 12:24:26 UTC
SUMMARY
As of now, the mount points of removable drives are hard-coded (compile-time adjustment). My use case is, that the user can decide in Settings where those exchangeable drives are mounted under '/'.

OBSERVED RESULT
In Debian et al, Ubuntu, the removable drives are mounted under /media/user
In Fedora the pre-defined mount point is /run/media/user

EXPECTED RESULT
Coming from Ubuntu to Fedora, I cannot continue my generic practice. I'd expect to have settings under Settings, where I am free to select the mount point without re-compiling the software

SOFTWARE/OS VERSIONS
KDE Plasma Version: 6.,22
KDE Frameworks Version: 6.7
Qt Version: 6.8

ADDITIONAL INFORMATION
My use case is the following: I receive a large number of different USB drives. Usual practice is mounting with Dolphin, and run updatedb. Within a second or two, I can 'locate' any substring file (name), because I altered updatedb.conf, with /media/user un-pruned in Ubuntu.
Now I have to move to Fedora. The compile-time-induced mount point is /run/media/user. It makes little sense, however, to not prune /run in the configuration. 
Before anyone starts discussing 'security' and readable and writable mounts, I for one still believe in the (by now former?) philosophy of FOSS, that the user is in control of his system; not necessarily by having to compile himself whatever modifications he desires. 
There are also use cases thinkable, where e.g. the mount points could be under /home/user. 

The only current workaround is setting each and every drive in /etc/fstab to a different mount point. When students bring in their drives, I think it would be silly having to add each drive to /etc/fstab to be in a state of mounting it wherever I want. Or having to forcibly mount each one with the terminal command sudo mount ... .
Comment 1 Nate Graham 2024-11-04 17:58:36 UTC
As you have discovered:
1. You can choose the mount-points of individual disks using the Partition Manager app.
2. Being able to do this system-wide via a KDE GUI is not feasible right now since it's controlled by a compile-time option in non-KDE software.

As such, it's unfortunately not feasible for KDE to do what you want.

I'd recommend focusing on making the /run/media behavior behave as you expect, or asking Fedora to change their default setting.

P.S. the "user is in control" philosophy *definitely and explicitly* involves the freedom to recompile the software to meet your own needs. It's one of the GNU four freedoms.