On 2024/11/20 04:26 PM, Andrew Randrianasulu via tde-users wrote:
udisks2 also can use /etc/fstab, and
mediamanager.cpp wrongly overrides this feature!!!
In this case, I hope just one additional checkbox "prefer udisk(2) over fstab"
will cover this use case?
Sorry, I don't get it.
/etc/fstab is there to allow a sys admin to setup information on how to mount disks. For
example you could mount
specific partitions to specific folders and allow access to specific users *ONLY*.
If any non-root user could simply click a checkbox and bypass the rules in fstab and mount
disks at its own pleasure,
where would security go?
On a server or share computer, the above can't not be allowed and using fstab info is
the correct way, when present.
systemd does that and you can mount a disk with udisks and dbus without even having any DE
installed, as long as fstab
and policies allow you to do that.
On a personal computer with a single user, you can login as root, edit fstab and set up
mounting as you prefer or remove
the entry from there all together.
Maybe I am missing something, if so please point it out for my own knowledge :-)
Cheers
Michele