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

Error when creating an env when non sudoer on Ubuntu: filesystem error: status: Permission denied [/etc/pki/tls/certs/ca-bundle.crt] #3632

Open
Hind-M opened this issue Nov 26, 2024 · 2 comments

Comments

@Hind-M
Copy link
Member

Hind-M commented Nov 26, 2024

Reported in micromamba-releases:
I tried to create an environment on Ubuntu 22.04 (I am not sudoer):

$ micromamba create -n envName python==3.10.8 -y

And I got the following error:

conda-forge/noarch                                          Using cache
nodefaults/linux-64                                           No change
nodefaults/noarch                                             No change
critical libmamba Multiple errors occured:
    filesystem error: status: Permission denied [/etc/pki/tls/certs/ca-bundle.crt]

I installed micromamba the manual way:

curl -Ls https://micro.mamba.pm/api/micromamba/linux-64/latest | tar -xvj bin/micromamba
export MAMBA_ROOT_PREFIX=/my/prefix
eval "$(./bin/micromamba shell hook -s posix)"
micromamba config append channels conda-forge
micromamba config append channels nodefaults
micromamba config set channel_priority flexible

Is there something I missed? What can I do?

@Hind-M
Copy link
Member Author

Hind-M commented Nov 26, 2024

@arthursw Thanks for reporting this. Can you change the permissions on the /etc/pki/tls/certs/ca-bundle.crt file to enable reading (and possibly execution)?

@arthursw
Copy link

I am sorry I can't remember on which machine I got this error. I checked on my typical machines (but I am sudoer on all of them, so it might be another one), the file /etc/pki/tls/certs/ca-bundle.crt does not exist.

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

No branches or pull requests

3 participants