[GitHub] [couchdb-docker] kocolosk commented on a change in pull request #151: allow running as arbitrary uid

2019-08-14 Thread GitBox
kocolosk commented on a change in pull request #151: allow running as arbitrary 
uid
URL: https://github.com/apache/couchdb-docker/pull/151#discussion_r313983930
 
 

 ##
 File path: 2.3.1/Dockerfile
 ##
 @@ -121,8 +121,13 @@ COPY docker-entrypoint.sh /usr/local/bin
 RUN ln -s usr/local/bin/docker-entrypoint.sh /docker-entrypoint.sh # backwards 
compat
 ENTRYPOINT ["tini", "--", "/docker-entrypoint.sh"]
 
-# Setup directories and permissions
-RUN find /opt/couchdb \! \( -user couchdb -group couchdb \) -exec chown -f 
couchdb:couchdb '{}' +
 
 Review comment:
   I couldn't repro the original issue myself, either. I think it mostly showed 
up when running with relatively slow PVs underneath.


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:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [couchdb-docker] kocolosk commented on a change in pull request #151: allow running as arbitrary uid

2019-08-13 Thread GitBox
kocolosk commented on a change in pull request #151: allow running as arbitrary 
uid
URL: https://github.com/apache/couchdb-docker/pull/151#discussion_r313552424
 
 

 ##
 File path: 2.3.1/Dockerfile
 ##
 @@ -121,8 +121,13 @@ COPY docker-entrypoint.sh /usr/local/bin
 RUN ln -s usr/local/bin/docker-entrypoint.sh /docker-entrypoint.sh # backwards 
compat
 ENTRYPOINT ["tini", "--", "/docker-entrypoint.sh"]
 
-# Setup directories and permissions
-RUN find /opt/couchdb \! \( -user couchdb -group couchdb \) -exec chown -f 
couchdb:couchdb '{}' +
 
 Review comment:
   I'm worried that dropping this line this will cause a regression of #131 
when starting as root and running as the CouchDB user.


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:
us...@infra.apache.org


With regards,
Apache Git Services