This is the first I’ve seen something like this on Linux. I’m using endeavourOS and update my system fairly regularly. Is this “normal”?

Firefox is v122 installed from the Aur normal arch repositories with pacman.

edit: added install method

edit 2: corrected install method

  • unalivejoy@lemm.ee
    link
    fedilink
    English
    arrow-up
    33
    ·
    9 months ago

    Since you installed it from the AUR, it was likely installed to /opt/firefox-bin, which is not writable by the user. If you want to use firefox’s update checker instead of flapak (or maybe yay), you’ll need to have write access to this directory or install it into your home dir (ex: $HOME/.local/share/firefox).

    Note It’s recommended to use the firefox from the software packages or flatpak. These versions have the update checker disabled.

    • unalivejoy@lemm.ee
      link
      fedilink
      English
      arrow-up
      22
      arrow-down
      2
      ·
      edit-2
      9 months ago

      Here’s something should make it work for any user. Though it might break on an actual AUR update.

      DISCLAIMER: This is probably very insecure. Only let people you trust update firefox. Seriously, just install from the official repository or use the flatpak.

      Create a group named firefox and add yourself to it. Set the group owner of the firefox directory to firefox. If you have other users you want to be able to update firefox, add them to the firefox group as well.

      groupadd firefox -U $USER
      find /opt/firefox-bin -exec chown :firefox {} +
      find /opt/firefox-bin -exec chmod g+w {} +
      

      Then log out and back in.

      • Tak@lemmy.ml
        link
        fedilink
        arrow-up
        16
        ·
        9 months ago

        This reads like someone explaining how to cook a pizza with a propane torch. I love it.

      • governorkeagan@lemdro.idOP
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        9 months ago

        Thanks to @NateSwift@lemmy.world I realised that I didn’t use the AUR. I installed with the normal Arch repositories(pacman).