Menu

#562 Only launches using sudo on Linux

Release_1.4
unread
None
linux
1
2024-03-18
2024-03-18
No

Running Linux Mint (Ubuntu Jammy), and downloaded 1.4.6 AppImage.

Not realising this is a self contained binary, I launched using "sudo".
I then quit, and tried launching without "sudo" and it simply does nothing, and shows an exit status of 1.

I'm presuming launching as root likely created some config file somewhere as root, and therefore attempting to launch as a normal user is failing to read this file.

I can still launch as "sudo Task...AppImage" but don't want to run all the time as root.

Any help much appreciated.

Discussion

  • mattman_iflaf

    mattman_iflaf - 2024-03-18

    Solved issue. On initial launch, an file is created under /tmp e.g.
    appimage-3e7165b0-870c-415c-a884-b022b12023a4-ld-linux-x86-64.so.2

    This had been created as owned by root user, removing this an re-launching as a normal user and all works.

     
  • Aaron Wolf

    Aaron Wolf - 2024-03-18
    • assigned_to: Aaron Wolf
     
  • Aaron Wolf

    Aaron Wolf - 2024-03-18

    the config file is the .ini file https://answers.launchpad.net/taskcoach/+faq/1061

    Not sure if AppImage affects that location

    Normally, you have to make an AppImage "executable" in the file permissions I think.

    You should not be running as root with sudo

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.