Summary: | KDE mounts devices as root instead of as user | ||
---|---|---|---|
Product: | [Frameworks and Libraries] frameworks-solid | Reporter: | Nikos Chantziaras <realnc> |
Component: | general | Assignee: | Lukáš Tinkl <lukas> |
Status: | RESOLVED INTENTIONAL | ||
Severity: | normal | CC: | afiestas, arthur, johu, kdelibs-bugs, kdeu, kensington |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Gentoo Packages | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Nikos Chantziaras
2013-04-08 22:36:47 UTC
KDE is not mounting anything indicated in fstab, we only use fstab to know when cifs/nfs filesystems are mounted, but we NEVER use fstab information to perform any mounting. So this must be an issue down in your distribution, definitively not in kde. Also, for user-mounting we use UDisk1 and UDisk2, maybe that line in fstab is interfering with them, you shouldn't need any fstab line afaik to do user-mounting. Going to close the bug as downstream. Please if you think I'm mistaken feel free to reopen the bug ! Thanks for reporting. What should downstream provide to not mount the drive/partion as root? (In reply to comment #2) > What should downstream provide to not mount the drive/partion as root? Could you please explain me what is needed in downstream? Ping? Can someone explain what KDE needs in order to mount devices with current user rights instead of root? Hello? Since no one's telling us why it's our (Gentoo) fault, I'm reopening. It's been two years now, and still no one from KDE can tell us what it needs. :-/ This bug is reported on libsolid which is the kdelibs4 version of the solid library. It is now in maintenance mode. If you think it should still be fixed in the KDE Frameworks 5 version of solid please move it to or report a bug on frameworks-solid. Tested with current git version (DolphinAbout Dialog: KDE Frameworks 5.12.0 and 14.12.95), same result as in bug description. If this is an downstream issue please decribe what is needed to make this work without /etc/fstab entry. The decision about what needs root is done by polkit. Using polkit's defaults, mounting an * Internal hard drives needs root * External hard drives does not need root This is on purpose. See https://wiki.archlinux.org/index.php/Polkit for how to configure polkit. If you want to see more examples just check out /etc/polkit-1/ and /usr/share/polkit-1/ on an Ubuntu installation. Closing. I don't care anymore. Polkit will misbehave with /proc mounted with hidepid=2 option. I've been recently been bitten by this, maybe it helps. |