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(v1): chown the whole envd conda env to user envd #1712

Merged
merged 1 commit into from
Jul 26, 2023

Conversation

kemingy
Copy link
Member

@kemingy kemingy commented Jul 25, 2023

The whole envd env might be used by users when installing new packages.

This can be triggered by conda install -c conda-forge mosec.

PermissionError: [Errno 13] Permission denied: '/opt/conda/envs/envd/.condatmp'

ERROR conda.core.link:_execute(952): An error occurred while uninstalling package 'defaults/linux-64::openssl-3.0.9-h7f8727e_0'.
Rolling back transaction: done

[Errno 13] Permission denied: '/opt/conda/envs/envd/bin/c_rehash' -> '/opt/conda/envs/envd/bin/c_rehash.c~'

ERROR conda.core.link:_execute(952): An error occurred while uninstalling package 'defaults/linux-64::openssl-3.0.9-h7f8727e_0'.
Rolling back transaction: done

[Errno 13] Permission denied: '/opt/conda/envs/envd/include/openssl/aes.h' -> '/opt/conda/envs/envd/include/openssl/aes.h.c~'
()

Previously, we were worried that it might take a long time to recursively chown the whole directory. But I didn't reproduce it now.

Signed-off-by: Keming <kemingyang@tensorchord.ai>
@kemingy
Copy link
Member Author

kemingy commented Jul 25, 2023

@kemingy kemingy merged commit b6b70c8 into tensorchord:main Jul 26, 2023
13 of 14 checks passed
@kemingy kemingy deleted the conda_permission branch July 26, 2023 06:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants