Skip to content

devc mode having error if run by non-root #1596

Open
@gkwan-ibm

Description

@gkwan-ibm

Start the cloud-hosted lab by the Run in cloud button in the https://openliberty.io/guides/docker.html.

At the "Getting started" section, after run cd /home/project, run sudo usermod -d /home/project theia.

Then follow the instructions.

At the "Launching Open Liberty in dev mode" section, run the mvn liberty:devc and get the following error:

[ERROR] TRAS0036E: The system could not create file /logs/messages.log because of the following exception: java.security.PrivilegedActionException: java.io.IOException: Permission denied

and the devc mode does not show

**************************************************************
*    Liberty is running in dev mode.
* 

and cannot run test by pressing enter/return key

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions