Run h5serv as non-root user

Open
#1 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
dockerfile
Domain
devops

Research direction

Start with the h5serv Dockerfile and reproduce the container with a mounted host file system. Check the toc file creation failure and confirm the container's user and permissions; done means the documented Dockerfile behavior no longer prevents toc creation on a mounted directory.

Written by the indexing model from the issue text.

Description

help wanted

First pass at h5serv Dockerfile created a non-root user. But when mounting a host file system, this user does not have write permissions to the directory, so toc file creation fails.

Will alter the Dockerfile to run as root for now (even though it's a mild security risk).

Dominant language
Dockerfile
Stars
17
Forks
6
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from HDFGroup/hdf-docker

All issues in HDFGroup/hdf-docker

Similar issues

More DevOps issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.