You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2019/10/04 01:23:16 UTC

[GitHub] [couchdb-docker] arturog opened a new issue #155: Incorrect ownership of /opt/couchdb - everything is owned by couchdb

arturog opened a new issue #155: Incorrect ownership of /opt/couchdb - everything is owned by couchdb
URL: https://github.com/apache/couchdb-docker/issues/155
 
 
   The Docker image sets everything under /opt/couchdb to be owned by the couchdb user, leading to the running couchdb process to have unrestricted access to all binaries and files installed in the container.
   
   ## Expected Behavior
   Only the necessary directories under /opt/couchdb should be set to be owned by couchdb, namely /opt/couchdb/data, etc...
   
   ## Current Behavior
   Everything is owned by couchdb.  Couchdb has unrestricted access to all files installed.
   
   ## Possible Solution
   Change the `chown` commands in the Dockerfile and entrypoint to selectively set the correct ownerships.
   
   ## Steps to Reproduce (for bugs)
   Run the image
   execute `docker exec -ti <your-container-name> bash` and have a look inside /opt/couchdb

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services