Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-27988

Fix ownership of /opt/nuxeo/server in the nuxeo Docker image

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 11.1, 2021.0
    • Component/s: CI/CD

      Description

      docker pull packages.nuxeo.com:5000/nuxeo/nuxeo:11.1-SNAPSHOT
      docker run -it packages.nuxeo.com:5000/nuxeo/nuxeo:11.1-SNAPSHOT bash
      
      bash-4.2$ ls -l /opt/nuxeo/
      total 4
      drwxr-xr-x 18 root root 4096 Sep  5 07:53 server
      

      The directory should be owned by nuxeo:root.
      This results in:

      touch: cannot touch '/opt/nuxeo/server/configured': Permission denied
      

      when running the image.

      This seems to only happen on the image built by Jenkins X, built locally it's fine.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 3 days, 1 hour
                  3d 1h