INCATools / ontology-development-kit

Bootstrap an OBO Library ontology
http://incatools.github.io/ontology-development-kit/
BSD 3-Clause "New" or "Revised" License
214 stars 54 forks source link

Run under root by default unless ODK_USER_ID is explicitly set. #905

Closed gouttegd closed 12 months ago

gouttegd commented 12 months ago

This PR changes the entry point script so that it defaults to run the inner processes as root, unless the ODK_USER_ID variable is explicitly set to something else than zero.

This avoids breaking things for users who for some reasons do not pass the ODK_USER_ID variable when they invoke the ODK – which includes Windows users, since the run.bat script has never been updated to pass that variable.