Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
QT StandardPaths: how to disable automounting
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
FastTurtle
Guru
Guru


Joined: 03 Sep 2002
Posts: 533
Location: Flakey Shake & Bake Caliornia, USA

PostPosted: Mon Apr 21, 2025 7:08 pm    Post subject: QT StandardPaths: how to disable automounting Reply with quote

It seems that qt/kde is mounting stuff when it shouldn't.

Code:
QStandardPaths: runtime directory '/run/user/1000' is not owned by UID 0, but a directory permissions 0700 owned by UID 1000 GID 1000


Another example is mounting media (music, pictures, videos) on /run/media and it wont allow me to disable/dismount in order to properly copy files to/from my external disk so it's annoying.

Any solution other then a clean install would be appreciated
_________________
AsRock Rack Rome8-2t
AMD Epyc 7282 CPU
192GB of ECC memory
Back to top
View user's profile Send private message
Banana
Moderator
Moderator


Joined: 21 May 2004
Posts: 2017
Location: Germany

PostPosted: Tue Apr 22, 2025 10:58 am    Post subject: Reply with quote

KDE has its own settings for that: https://docs.kde.org/stable5/en/plasma-desktop/kcontrol/solid-device-automounter/index.html
_________________
Forum Guidelines

PFL - Portage file list - find which package a file or command belongs to.
My delta-labs.org snippets do expire
Back to top
View user's profile Send private message
FastTurtle
Guru
Guru


Joined: 03 Sep 2002
Posts: 533
Location: Flakey Shake & Bake Caliornia, USA

PostPosted: Tue Apr 22, 2025 12:19 pm    Post subject: Reply with quote

Thanks for the link as I certainly couldn't find it

Problem is, that's for Plasma 5 and from 2021. It's also very thin on details.

EDIT for Clarity:

I know I'm not always clear about things but The key right now is the message listed in the code box. At this time, I don't know if it's a bug but to me, it appears to be one as something is not right.

The last issue is the fact that to access that feature in Plasma 6, you need to switch to root but it wont allow that from the KDE leave/log-off/switch user menu. Root is completely disabled so it's impossible to change that setting without know what the settings app is called and where it's located.

On the automounting of drives, those are listed in my fstab and are internal disks, they are not removables but they're being mounted at /run/media instead of where I have them mounted by fstab.

Quote:
portal on /run/user/1000/doc type fuse.portal (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)


Directly from my mount command. I'm not sure if this is a QT5 or QT6 issue as when I built this system, I did have use=qt5 in make.conf

Just trying to identify if this is a bug or bad build.
_________________
AsRock Rack Rome8-2t
AMD Epyc 7282 CPU
192GB of ECC memory
Back to top
View user's profile Send private message
Ralphred
l33t
l33t


Joined: 31 Dec 2013
Posts: 769

PostPosted: Tue Apr 22, 2025 3:22 pm    Post subject: Reply with quote

Quote:
runtime directory '/run/user/1000' is not owned by UID 0
This is something "(e)logind aware" whinging about you running with elevated privilege (not directly, just from the "wrong user" scope).
Quote:
The last issue is the fact that to access that feature in Plasma 6, you need to switch to root but it wont allow that from the KDE leave/log-off/switch user menu
No, it won't, you use kdesu for this. "Automation" within plasma to do this transparently has been successfully applied over the last few years, with the only time you "know you are doing it" being when plasma (or a related dialog) asks for a "root password".
Quote:
Just trying to identify if this is a bug or bad build.
You should describe what you are trying to achieve and how it fails before making reference to extraneous messages, etc. Feel free to include the outputs from `cat /etc/fstab`, `blkid`and similar too.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum