Uploaded image for project: 'XWiki Docker images'
  1. XWiki Docker images
  2. XDOCKER-218

Problem of files permission in the image

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Minor
    • None
    • Docker 17.05.0-ce , Redhat 7.2,
    • docker privileged
    • Medium
    • N/A
    • N/A

    Description

      Since version 12.10.9 if you do :

      {{sudo docker rm -f xwiki_test && sudo docker run -d --name xwiki_vide xwiki:13.10.2-postgres-tomcat
      sudo docker exec -it xwiki_test bash
      ls -l
      [cdesmots@ittyfo-app-10-lvn ~]$ sudo docker exec -u 0 -it xwiki_vide bash
      root@e0e5c6c164e9:/usr/local/tomcat# ls -l
      ls: cannot access 'BUILDING.txt': Operation not permitted
      ls: cannot access 'CONTRIBUTING.md': Operation not permitted
      ls: cannot access 'LICENSE': Operation not permitted
      ls: cannot access 'NOTICE': Operation not permitted
      ls: cannot access 'README.md': Operation not permitted
      ls: cannot access 'RELEASE-NOTES': Operation not permitted
      ls: cannot access 'RUNNING.txt': Operation not permitted
      ls: cannot access 'bin': Operation not permitted
      ls: cannot access 'conf': Operation not permitted
      ls: cannot access 'lib': Operation not permitted
      ls: cannot access 'logs': Operation not permitted
      ls: cannot access 'native-jni-lib': Operation not permitted
      ls: cannot access 'temp': Operation not permitted
      ls: cannot access 'webapps': Operation not permitted
      ls: cannot access 'webapps.dist': Operation not permitted
      ls: cannot access 'work': Operation not permitted
      total 0
      ?????????? ? ? ? ? ? BUILDING.txt
      ?????????? ? ? ? ? ? CONTRIBUTING.md
      ?????????? ? ? ? ? ? LICENSE
      ?????????? ? ? ? ? ? NOTICE
      ?????????? ? ? ? ? ? README.md
      ?????????? ? ? ? ? ? RELEASE-NOTES
      ?????????? ? ? ? ? ? RUNNING.txt
      ?????????? ? ? ? ? ? bin
      ?????????? ? ? ? ? ? conf
      ?????????? ? ? ? ? ? lib
      ?????????? ? ? ? ? ? logs
      ?????????? ? ? ? ? ? native-jni-lib
      ?????????? ? ? ? ? ? temp
      ?????????? ? ? ? ? ? webapps
      ?????????? ? ? ? ? ? webapps.dist
      ?????????? ? ? ? ? ? work
      root@e0e5c6c164e9:/usr/local/tomcat#}}

      There is a problem with default owner and group ID ?
      With image "xwiki:12.10.9-postgres-tomcat" it was ok.

      May be it can be because of the Dockerfile that was based on "tomcat:8-jdk11-temurin" on version 12.10.9 and after this version it's from "tomcat:9-jk11" ?

      May be this right management problem could have others issues ?

      This problem doesn't appear on a Ubnutu version on local.

       

      Regards.
      Camille

      Attachments

        Activity

          People

            vmassol Vincent Massol
            Camille_D Camille Desmots
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: