Skip to content

Kolibri finish_install.sh assumes the KOLIBRI_USER is root #44

@richsegal

Description

@richsegal

I figured this was the best place to report module bugs as they do not have a repository of their own. Please let me know if there is a better place to report this bug.

The Kolibri modules have a finish_install.sh script that gets run after downloading the module. This script in turn calls the establish_content_symlinks.sh script. Both of these scripts assume that Kolibri is installed as root. However, it is fairly straightforward to run /etc/default/kolibri and check the value of KOLIBRI_USER to determine the locally defined Kolibri user. This would allow Kolibri content modules to work on machines in which Kolibri is installed using a user account other than root.

Note, it is considered a security risk to run applications as root so supporting a non-root Kolibri installation is good practice.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions