Uploaded image for project: 'Nuxeo Enhanced Viewer'
  1. Nuxeo Enhanced Viewer
  2. NEV-252

Previewer can't start with a non root user id

    XMLWordPrintable

    Details

      Description

      Starting as with a non-root user is no longer possible with 10.2.0.

      Here below the output of a test:

      $ docker run --rm -it -u 501 docker-arender.packages.nuxeo.com/nuxeo/arender-previewer:10.2.0
      /!\Warning: 'ARENDERSRV_ARENDER_SERVER_RENDITION_HOSTS' is not set, ARender may not work
      mkdir: cannot create directory ‘/home/arender/profile’: Permission denied
      mkdir: cannot create directory ‘/home/arender/ARenderConfiguration’: Permission denied
      /usr/local/tomcat/entrypoint.sh: line 35: /home/arender/ARenderConfiguration/arender-custom-client-server.properties: Permission denied
      Using CATALINA_BASE:   /usr/local/tomcat
      Using CATALINA_HOME:   /usr/local/tomcat
      Using CATALINA_TMPDIR: /usr/local/tomcat/temp
      Using JRE_HOME:        /usr/java/openjdk-13
      Using CLASSPATH:       /usr/local/tomcat/bin/bootstrap.jar:/usr/local/tomcat/bin/tomcat-juli.jar
      NOTE: Picked up JDK_JAVA_OPTIONS:  --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED
      

      We can see some directory has permission issues.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: