If I open a text file that needs root privileges to modify, I get this error:

Failed to save 'this_file': Insufficient permissions. Select 'Retry as Sudo' to retry as superuser.

That’s fine, that’s expected.

But when I click on “Retry as Sudo”, I get this error:

Failed to save 'this_file': Unable to find pkexec or kdesudo.

This happens though pkexec is installed on my machine, at /usr/bin/pkexec; and I granted VSCodium access to it through Flatseal. How do I fix this?

  • InternetCitizen2@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    5 days ago

    Hmmm I am not sure. Might be worth asking in one of the mainline linux communities. At a minimum they might be able to point to a more active community instance for asking questions. As it is, this is not really a VSC issue per say.