kocolosk commented on issue #278: Document best configuration settings for 
low-spec HW
URL: 
https://github.com/apache/couchdb-documentation/issues/278#issuecomment-428425310
 
 
   I experimented a bit more with this and I suspect we're carrying around some 
dead weight. The `chown` commands don't do anything on a modern Docker engine 
as far as I can tell - everything is already owned by user `couchdb`. The 
`chmod` commands do have an effect but honestly I'm wondering if these are even 
necessary:
   
   - Switch `/opt/couchdb/data` from 755 to 770
   - Switch the .ini files from 644 to 664
   - Switch the config directories from 755 to 775
   
   I don't know what standard we used to come up with these settings but e.g. 
the `docker.ini` file that we create in `docker-entrypoint.sh` has 644 
permissions so we're not even internally consistent.
   
   I don't have a proper test matrix of Docker engine versions etc. to see if 
there was a point in time at which these settings were needed. I've also not 
tried Windows or anything else exotic.

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


With regards,
Apache Git Services

Reply via email to