mamba: Resolving from cache fails when cache dir rights are applied with ACL's
OS : RHEL7 Mamba version : 0.15.2 Conda version : 4.10.3
How to replicate :
- Create cache dir
mkdir -p /tmp/cache/conda
- Add ACL’s for your user
setfacl -m d:u:<user>:rwx /tmp/cache/conda/
setfacl -m u:<user>:rwx /tmp/cache/conda/
- Change folder owner to root to rely solely on ACL’s
chown root:root /tmp/cache/conda/
Expected behavior
conda create -n test python
The command works fine and the cache is populated with downloaded packages.
Actual behavior
mamba create -n test python
Resolving breaks while accessing cache registry
RuntimeError: Operation not permitted: '/tmp/cache/conda/cache/f7c32d1b.json'
In our use case, package cache has to be accesible to mutiple groups. We cannot rely solely on user:group rights.
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Reactions: 4
- Comments: 15 (11 by maintainers)
having occasionally the same issue with mamba 0.19.1, conda 4.11.0 on Ubuntu 20.04, with shared conda folder for all users, which are in the same group.
This affects us as well.