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

docs: Fix "make render-docs" permissions issue #10922

Merged
merged 1 commit into from Apr 9, 2020

Commits on Apr 9, 2020

  1. docs: Fix "make render-docs" permissions issue

    Some versions of docker, when passed the `--volume` flag, will create
    the directory *as root* before launching the container, which caused
    `make render-docs` to fail with a permissions issue like the following:
    
      Exception occurred:
        File "/usr/local/lib/python3.7/os.py", line 221, in makedirs
          mkdir(name, mode)
      PermissionError: [Errno 13] Permission denied: '/src/Documentation/_build/doctrees'
    
    Fix it by creating the directory as the current user first.
    
    Fixes: cilium#10869
    
    Signed-off-by: Joe Stringer <joe@cilium.io>
    joestringer committed Apr 9, 2020
    Copy the full SHA
    651b619 View commit details
    Browse the repository at this point in the history