https://bugs.kde.org/show_bug.cgi?id=368175

--- Comment #10 from Andrius Štikonas <andr...@stikonas.eu> ---
(In reply to Andrius Štikonas from comment #9)
> (In reply to Andrius Štikonas from comment #8)
> > Ok, looks like I found a way to temporary unload the whole kded module doing
> > automounting. This will be better than following what automounter kcm does.
> > 
> > qdbus org.kde.kded5 /kded org.kde.kded5.unloadModule device_automounter
> > and
> > qdbus org.kde.kded5 /kded org.kde.kded5.loadModule device_automounter
> 
> Hmm, these commands work manually but do not work from inside partition
> manager. The reason is that partition manager is running as root while
> automounter is running as normal user. Well it would of course work if we
> port to KAuth/Polkit but that is a very big task... I probably need to find
> some interim solution.

Ok, I think I can solve this by running logname to get the username of the
original user and then obtains UID of that user and run setuid before making
QtDBus connection.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to