Skip to content

Fix permissions given default user is non-root #25

@matthewfeickert

Description

@matthewfeickert

The default user in

FROM mambaorg/micromamba:1.4.9-bullseye-slim

is for security reasons a non-root user with uid 1000:

$ docker run --rm -ti mambaorg/micromamba:1.4.9-bullseye-slim
(base) mambauser@b82a37bc6fff:/tmp$ id
uid=1000(mambauser) gid=1000(mambauser) groups=1000(mambauser)
(base) mambauser@b82a37bc6fff:/tmp$ 

I forgot this in PR #23 and failed to implement Issue #15, which is causing errors for people who are working at @main and not secure pins (sorry networkx and xarray).

I will need to fix this tomorrow to ensure that things are running in login shells and with proper permissions.

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions