Root priviliges?

Help
Solbu
2012-10-09
2015-08-25
  • Solbu
    Solbu
    2012-10-09

    Greetings.
    I am packaging lxmed for Mageia and Mandriva, and is qurious as to why the application want root access.
    If the app is run as a user and not as root, what is the difference?
    What does it not do as a user that it does as root?

     
  • Cakra Komci
    Cakra Komci
    2015-08-25

    The app reads and writes to /usr/share/applications folder which holds data about main menu.
    That's why it needs root access.
    Try running it with
    cd /opt/lxmed
    java -jar /opt/lxmed/LXMenuEditor.jar
    and you will run it without root access, but you should see that you can't edit much in that case.