Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix netrc permissions via docker #79

Merged
merged 1 commit into from
Jul 2, 2021

Conversation

scottyhq
Copy link
Member

@scottyhq scottyhq commented Jul 2, 2021

If we don't do this, code reading a netrc in a jupyter notebook won't work (as in #68)

import netrc    
(ASF_USER, account, ASF_PASS) = netrc.netrc().authenticators("urs.earthdata.nasa.gov")

We end up with errors like this:

�[0;31mNetrcParseError�[0m: ~/.netrc file owner (uid 1001) does not match current user (root) (/home/jovyan/.netrc, line 1)

@scottyhq scottyhq added the preview create netlify website preview label Jul 2, 2021
@github-actions
Copy link

github-actions bot commented Jul 2, 2021

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
preview create netlify website preview
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant