Article 6QXGK [SOLVED] Telegram needs root authentication

[SOLVED] Telegram needs root authentication

by
lupe
from LinuxQuestions.org on (#6QXGK)
Hi,

Don't know how it happened, but now when trying to run Telegram, there's this:

Code:$ Telegram
==== AUTHENTICATING FOR org.freedesktop.policykit.exec ====
Authentication is needed to run `/home/myuser/.local/share/TelegramDeskto ... xepath /opt/telegram/ -writeprotected' as the super user
Authenticating as: root
Password:Code:$ ll -ld
drwx------ 4 myuser shared 4096 Sep 22 2024 TelegramDesktop/
Code:$ find ~/.local/share/TelegramDesktop/ ! -user myuserreturns nothing, so all files are owned by myuser.

Regarding the installation files for Telegram:

Code:$ ls -ld /opt/telegram/
drwxr-xr-x 2 root root 4096 Sep 1 01:20 /opt/telegram/
Code:$ find /opt/telegram/ ! -user myuser -exec ls -l {} \;
total 175532
-rwxr-xr-x 1 root root 169123416 Sep 1 01:20 Telegram
-rwxr-xr-x 1 root root 10615096 Sep 1 01:20 Updater
-rwxr-xr-x 1 root root 169123416 Sep 1 01:20 /opt/telegram/Telegram
-rwxr-xr-x 1 root root 10615096 Sep 1 01:20 /opt/telegram/UpdaterEverything seems executable by others.

If I change the owner of Telegram from root to myuser, Telegram still asks for root authentication.

There's that Code:xepath /opt/telegram -writeprotected. Is this the culprit of the issue?
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments